CVE-2026-97208

MEDIUM CVSS 3.1: 4.9 EPSS 0.26%
Updated Oct 13, 2026
Gitea
Parameter Value
CVSS 4.9 (MEDIUM)
Affected Versions before 28.1.0
Fixed In 28.1.0
Type CWE-863 (Incorrect Authorization)
Vendor Gitea
Public PoC No

The Gitea API endpoint for creating push mirrors (`POST /api/v1/repos/{owner}/{repo}/push_mirrors`) checked only whether mirroring was enabled and not the `[mirror] DISABLE_NEW_PUSH` setting that the web interface enforces. A repository administrator could therefore create new push mirrors on instances where the site administrator had disabled them. A push mirror pushes all refs of the repository to a remote chosen by the caller, on each commit or on a schedule.

Attack Parameters

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

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Gitea Gitea
cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
— 28.1.0