← CVE Intelligence

CVE-2026-70400

Gitea private migration creation with public-only tokens PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Gitea / Giteaaffected 0 through 1.27.2

CWE

CWE-863

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.