7.5Hoch

CVE-2026-119441Gitea public-only token bypass on bulk organization repository deletion

Gitea Gitea Veröffentlicht: (vor 16 Tagen)

Beschreibung

`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.

Schwachstellentyp (CWE): CWE-863

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
Gitea Gitea 1.27.0 – < 28.3.0

Referenzen und Patches