CVE-2026-70400

MEDIUM CVSS 3.1: 5.4 EPSS 0.38%
Updated Oct 14, 2026
Gitea
Parameter Value
CVSS 5.4 (MEDIUM)
Type CWE-863 (Incorrect Authorization)
Vendor Gitea
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
Low
Partial disruption

CVSS Vector v3.1