CVE-2026-70400GHSA-x58h-3mx5-q44r
Gitea private migration creation with public-only tokens
Gitea Gitea
CVSS
5.4MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.38%Chance of exploitation activity in the next 30 days, higher than 30% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
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.
Text from CVE List
Affected versions 1
- Giteaaffected: all versions through 1.27.2CVE List
References 5
- github.com/go-gitea/gitea/pull/39007Fixvia CVE List
- github.com/go-gitea/gitea/pull/39014Fixvia CVE List
- github.com/go-gitea/gitea/releases/tag/v1.27.3Fixvia CVE List
- github.com/go-gitea/gitea/security/advisories/GHSA-x58h-3mx5-q44rAdvisoryvia CVE List
- blog.gitea.com/release-of-1.27.3/Referencevia CVE List