CVE-2026-70400

Gitea private migration creation with public-only tokens

State
Published
Severity
5.4 Medium
Published
Oct 14, 2026
Updated
Oct 14, 2026
Reserved
Aug 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LCISA-ADP

Weaknesses

Affected Products

ProductVersions
GiteaGitea
  • 1.27.2 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.