CVE-2026-70400

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductGitea
PublishedOct 14, 2026
First seenOct 14, 2026

How to fix

Affected products

ProductAffected versionsFixed in
Gitea Giteav ≤ 1.27.2—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.