`DELETE /api/v1/orgs/{org}/repos` deletes all repositories of an organization, but it did not enforce the public-only restriction of access tokens: the route only checked that the organization itself was public. A public-only token of an owner of a public organization could therefore permanently delete the organization's private repositories, which such a token must not reach. Routes that require organization ownership now reject public-only tokens.
History

Sun, 01 Nov 2026 12:00:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Sun, 01 Nov 2026 10:00:00 +0000

Type Values Removed Values Added
Description `DELETE /api/v1/orgs/{org}/repos` deletes all repositories of an organization, but it did not enforce the public-only restriction of access tokens: the route only checked that the organization itself was public. A public-only token of an owner of a public organization could therefore permanently delete the organization's private repositories, which such a token must not reach. Routes that require organization ownership now reject public-only tokens.
Title Gitea public-only token bypass on bulk organization repository deletion
Weaknesses CWE-863
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published: 2026-11-01T09:48:54.215Z

Updated: 2026-11-01T09:48:54.215Z

Reserved: 2026-11-01T08:48:41.157Z

Link: CVE-2026-119441

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-01T10:18:36.643

Modified: 2026-11-01T10:18:36.750

Link: CVE-2026-119441

cve-icon Redhat

No data.