CVE-2026-70400
CVE-2026-70400 · Gitea private migration creation with public-only tokens
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.4 · Medium · EPSS 0.4%
- Published
- Updated
Affected products and versions
gitea
- Versions
- ≥ 0, ≤ 1.27.2: Affected (semver)
No fix published
Original sources
- https://github.com/go-gitea/gitea/security/advisories/GHSA-x58h-3mx5-q44r
- https://blog.gitea.com/release-of-1.27.3/
- https://github.com/go-gitea/gitea/pull/39007
- https://github.com/go-gitea/gitea/pull/39014
- https://github.com/go-gitea/gitea/releases/tag/v1.27.3
- https://nvd.nist.gov/vuln/detail/CVE-2026-70400