CVE-2026-70400
JSON

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 packageVersionsReported by
code.gitea.io/giteaup to 1.27.2CVE List

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-70400 changed 2026-10-14CVE Terms of Use
NVDCVE-2026-70400 changed 2026-10-14Public domain