CVE-2026-86684
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.17%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.1 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- EPSS
- 0.17% probability · 3th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-863
- Affected
- gitea/gitea
- Source
- 88ee5874-cf24-4952-aea0-31affedb7ff2
EPSS moved from 0.1% on 7 October 2026 to 0.2% on 27 November 2026.
References
- https://blog.gitea.com/release-of-28.1.0/Release Notes
- https://github.com/go-gitea/gitea/pull/39501Patch, Issue Tracking
- https://github.com/go-gitea/gitea/pull/39507Patch, Issue Tracking
- https://github.com/go-gitea/gitea/releases/tag/v28.1.0Release Notes
- https://github.com/go-gitea/gitea/security/advisories/GHSA-7v5j-mph8-9w6gExploit, Mitigation, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.