CVE-2026-86684 Gitea push mirror local path check uses the repository owner
HighCVSS 7.1
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Gitea | >= 1.18.0, < 28.1.0; >= 1.18.0, <= 28.0.0 | 28.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea | >= 1.18.0, <= 28.0.0 | No fix listed |
| Gitea | >= 1.18.0, < 28.1.0 | 28.1.0 |
References
- GitHub Security Advisory GHSA-7v5j-mph8-9w6g exploit mitigation vendor-advisory
- Fix: go-gitea/gitea pull request #39501 issue-tracking patch
- Fix backport to release/v28: go-gitea/gitea pull request #39507 issue-tracking patch
- Gitea 28.1.0 release announcement release-notes
- go-gitea/gitea v28.1.0 release release-notes
- ENISA EUVD EUVD-2026-94051 third-party-advisory