MEDIUM 5.4 NVD
CVE-2026-70400
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
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.
References
- 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://github.com/go-gitea/gitea/security/advisories/GHSA-x58h-3mx5-q44r
This medium severity vulnerability with a CVSS score of 5.4 was published on 2026-10-14 via NVD.
vulnfeed aggregates 14864 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.