CVE-2026-70400
5.4medium
Gitea private migration creation with public-only tokens
- Severity
- 5.4medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.38% (higher than 34% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Gitea
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| code.gitea.io/gitea | up to 1.27.2 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-70400 changed 2026-10-14 | CVE Terms of Use |
| NVD | CVE-2026-70400 changed 2026-10-14 | Public domain |