← Database

CVE-2026-70400

MEDIUM CVSS: 5.4 Published: 2026-10-14 Modified: 2026-10-14

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 Platforms

Unknown

Weakness Type

CWE-863

References