CVE-2026-70396
Last modified
CVE-2026-70396 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | <= 1.27.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-70396?
How severe is CVE-2026-70396?
How do I fix CVE-2026-70396?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-70383Improper Limitation of a Pathname to a Restricted Directory …8.4
- CVE-2026-70386Improper neutralization of special elements used in an OS co…8.5
- CVE-2026-70387Exposed dangerous method or function and Incorrect Authoriza…8.4
- CVE-2026-70388SOEM version 2.0.0 and earlier contains vulnerabilities wher…8.3
- CVE-2026-7039A security vulnerability has been detected in tufantunc ssh-…7.8
- CVE-2026-70395Improper Neutralization of Special Elements in Data Query Lo…2.1
- CVE-2026-70398A flaw was found in multicloud-integrations, a component of …9.6
- CVE-2026-70399Allocation of Resources Without Limits or Throttling vulnera…8.7
- CVE-2026-7040Text::Minify::XS versions from 0.3.0 before 0.7.8 for Perl h…7.5
- CVE-2026-70400Gitea's repository migration API accepts a public-only token…5.4
- CVE-2026-70402Gitea creates server-side Git hook directories and scripts w…5.8
- CVE-2026-70403XING CPTrans-ME-X contains a Use of Hard-coded Password (CWE…9.3
Are you affected by CVE-2026-70396?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
