CVE-2026-70400
Gitea private migration creation with public-only tokens
CVSS Score
5.4
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-863 |
| Vendor | gitea |
| Product | gitea |
| Published | Oct 14, 2026 |
| Last Updated | Oct 14, 2026 |
Stay Ahead of the Next One
Get instant alerts for gitea gitea
Be the first to know when new medium vulnerabilities affecting gitea gitea are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Gitea / Gitea
0 โค 1.27.2
References
github.com: https://github.com/go-gitea/gitea/security/advisories/GHSA-x58h-3mx5-q44r blog.gitea.com: https://blog.gitea.com/release-of-1.27.3/ github.com: https://github.com/go-gitea/gitea/pull/39007 github.com: https://github.com/go-gitea/gitea/pull/39014 github.com: https://github.com/go-gitea/gitea/releases/tag/v1.27.3
Credits
๐ https://github.com/rexpository https://github.com/bircni