CVE-2026-70400 json
Gitea private migration creation with public-only tokens
published 2mo ago modified 28d ago also EUVD-2026-101094 , GHSA-x58h-3mx5-q44r
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 32%
- public exploits
- 0
- none known
Summary
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.
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-70400 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
- 28d ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% 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-x58h-3mx5-q44r
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-70400
- NVD CVE-2026-70400
- Maintainer advisory GHSA-x58h-3mx5-q44r
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.