CVE-2026-70400
published medium CVSS 3.1 · 5.4Gitea private migration creation with public-only tokens
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | code.gitea.io/giteaGitea · 0 through 1.27.2 · Other versions: unaffected | Affected | Not stated | Gitea |
| Alpine Linux | edge | gitea | Fixed | 1.27.3-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 through 1.27.2 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-863 CWE-863: Incorrect Authorization
References
5- Gitea 1.27.3 release announcement https://blog.gitea.com/release-of-1.27.3/
- Fix: go-gitea/gitea pull request #39007 https://github.com/go-gitea/gitea/pull/39007
- Fix: go-gitea/gitea pull request #39014 https://github.com/go-gitea/gitea/pull/39014
- go-gitea/gitea v1.27.3 release https://github.com/go-gitea/gitea/releases/tag/v1.27.3
- GitHub Security Advisory GHSA-x58h-3mx5-q44r https://github.com/go-gitea/gitea/security/advisories/GHSA-x58h-3mx5-q44r
Provider assertions
2Gitea · cna
Gitea private migration creation with public-only tokens
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 101f79b5b43dd35a340f152f75aaa5ea7ddef5540ce60716ce0674ba769cd75e
- Ingested
- 14 Oct 2026, 20:30:39 UTC
- Source record
- Official CVE record