Bug 2552326 (CVE-2026-70400) - CVE-2026-70400 code.gitea.io/gitea: Gitea: Authorization bypass via repository migration API
Summary: CVE-2026-70400 code.gitea.io/gitea: Gitea: Authorization bypass via repositor...
Keywords:
Status: NEW
Alias: CVE-2026-70400
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-14 14:42 UTC by OSIDB Bzimport
Modified: 2026-11-03 08:14 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-14 14:42:01 UTC
Gitea's repository migration API accepts a public-only token when the request specifies creation of a private repository. A delegated token intended to operate only on public resources can create a private repository and migration task under the authorizing account or an organization where that user has the necessary permissions. The ordinary private repository-creation route rejects the same token, but the migration path omits that restriction.


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