CVE-2026-86684
The Gitea push mirror API checked whether the repository owner, instead of the requesting user, may use local file system paths.
Archived. This CVE has left SubZer0's live 30-day window. Signals below are as of 2026-11-05; check the references for anything newer.
- Severity: High
- CVSS 7.1
- EPSS 0.15%
- Public exploit
- P2 · This week
Why P2: this week.
Description
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.
Affected products
- gitea >= 1.18.0, < 28.1.0
Weakness
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- NVD record NVD
- CVE Program record CVE Program
- Reference NVD
- Reference NVD
- Reference NVD
- Reference NVD
- Reference NVD