CVE-2026-70400 Gitea private migration creation with public-only tokens
MediumCVSS 5.4
EPSS 0.38%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Gitea | <= 1.27.2 | after 1.27.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea | <= 1.27.2 | No fix listed |
References
- GitHub Security Advisory GHSA-x58h-3mx5-q44r vendor-advisory
- Gitea 1.27.3 release announcement release-notes
- Fix: go-gitea/gitea pull request #39007 patch
- Fix: go-gitea/gitea pull request #39014 patch
- go-gitea/gitea v1.27.3 release release-notes
- ENISA EUVD EUVD-2026-101094 third-party-advisory