CVE-2026-119441

Gitea public-only token bypass on bulk organization repository deletion

High published · updated

7.5
CVSS score out of 10 · NVD (134c704f-9b21-4f2e-91b3-4a467353bcc0)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
gitea gitea 1.27.0 → <28.3.028.3.0 CVE.org

References