Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | >= 1.18.0, < 28.1.0 |
Related Weaknesses (CWE)
References
- https://blog.gitea.com/release-of-28.1.0/Release Notes
- https://github.com/go-gitea/gitea/pull/39501PatchIssue Tracking
- https://github.com/go-gitea/gitea/pull/39507PatchIssue Tracking
- https://github.com/go-gitea/gitea/releases/tag/v28.1.0Release Notes
- https://github.com/go-gitea/gitea/security/advisories/GHSA-7v5j-mph8-9w6gExploitMitigationVendor Advisory
FAQ
What is CVE-2026-86684?
CVE-2026-86684 is a vulnerability with a CVSS score of 7.1 (HIGH). 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 ...
How severe is CVE-2026-86684?
CVE-2026-86684 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-86684?
Check the references section above for vendor advisories and patch information. Affected products include: Gitea Gitea.