CVE-2026-70396 json
Gitea organization repository creation token scope bypass
published 2mo ago modified 24d ago also EUVD-2026-101093 , GHSA-hxhc-246f-rvqc
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository go-gitea/gitea. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- github.com/go-gitea/gitea#39007 pull request
- github.com/go-gitea/gitea#39014 pull request
- github.com/go-gitea/gitea/releases/tag/v1.27.3 release
Is CVE-2026-70396 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 24d ago
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
Affected products
- Gitea Gitea
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
github.com
/go-gitea/gitea/pull/39007
patch
-
github.com
/go-gitea/gitea/pull/39014
patch
-
github.com
/go-gitea/gitea/security/advisories/GHSA-hxhc-246f-rvqc
vendor-advisory, advisory
-
blog.gitea.com
/release-of-1.27.3/
release-notes
-
github.com
/go-gitea/gitea/releases/tag/v1.27.3
release-notes
Sources
- CVE List CVE-2026-70396
- NVD CVE-2026-70396
- Maintainer advisory GHSA-hxhc-246f-rvqc
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of go-gitea/gitea published their own advisory on GitHub. Reviewed sources take precedence over it.