Bug 2564521 (CVE-2026-119441) - CVE-2026-119441 code.gitea.io/gitea: Gitea: Unauthorized deletion of private repositories via public-only access tokens
Summary: CVE-2026-119441 code.gitea.io/gitea: Gitea: Unauthorized deletion of private ...
Keywords:
Status: NEW
Alias: CVE-2026-119441
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-01 09:51 UTC by OSIDB Bzimport
Modified: 2026-11-03 08:13 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-01 09:51:13 UTC
`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.


Note You need to log in before you can comment on or make changes to this bug.