CVE-2026-119441 PUBLISHED

Gitea public-only token bypass on bulk organization repository deletion

Assigner: Gitea
Reserved: 01.11.2026 Published: 01.11.2026 Updated: 01.11.2026

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.

Product Status

Vendor Gitea
Product Gitea
Versions Default: unaffected
  • affected from 1.27.0 to 28.3.0 (excl.)

Credits

  • https://github.com/K3y5tr0ke reporter
  • https://github.com/silverwind remediation developer

References

Problem Types

  • CWE-863: Incorrect Authorization CWE