Bug 2552346 (CVE-2026-70396) - CVE-2026-70396 code.gitea.io/gitea: Gitea: Authorization scope bypass via organization repository creation API
Summary: CVE-2026-70396 code.gitea.io/gitea: Gitea: Authorization scope bypass via org...
Keywords:
Status: NEW
Alias: CVE-2026-70396
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:44 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:44:00 UTC
Gitea's organization repository-creation API requires write:organization but omits the write:repository token scope enforced by other repository-creation routes. A personal access token or OAuth application token without repository-write scope can therefore create organization-owned repositories if the authorizing user has permission to do so. This bypasses the token's delegated scope boundary while remaining subject to the user's organization permissions.


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