CVE-2026-86684

HIGH CVSS 3.1: 7.1 EPSS 0.11%
Updated Oct 13, 2026
Gitea
Parameter Value
CVSS 7.1 (HIGH)
Affected Versions 1.18.0 — 28.1.0
Fixed In 28.1.0
Type CWE-863 (Incorrect Authorization)
Vendor Gitea
Public PoC No

The Gitea push mirror API checked whether the repository owner, instead of the requesting user, may use local file system paths. On instances with `[security] IMPORT_LOCAL_PATHS = true`, a repository administrator who is not allowed to import local paths could add a push mirror to a local path on the server when the repository owner has that permission. Gitea then pushed the repository's refs into an existing Git repository at that path with the permissions of the Gitea process.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete 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:*:*:*:*:*:*:*:*
1.18.0 28.1.0