# CVE-2026-86684: Gitea push mirror local path check uses the repository owner

- Severity: High 7.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-06T21:17:09.942Z
- Modified: 2026-10-14T11:11:00.632Z
- Also known as: BIT-GITEA-2026-86684, GHSA-7v5j-mph8-9w6g
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- gitea.dev: from 1.18.0 up to 28.0.0
- gitea gitea: from 1.18.0 before 28.1.0
- gitea (Bitnami): from 1.18.0 before 28.1.0

## Every score

- CISA-ADP: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-7v5j-mph8-9w6g> (exploit, advisory, mitigation, vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/39501> (fix, issue-tracking, patch)
- <https://github.com/go-gitea/gitea/pull/39507> (fix, issue-tracking, patch)
- <https://blog.gitea.com/release-of-28.1.0/> (article, release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v28.1.0> (article, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-86684> (web)

## Sources

- CVE List: [CVE-2026-86684](https://www.cve.org/CVERecord?id=CVE-2026-86684), CVE Terms of Use, modified 2026-10-07
- NVD: [CVE-2026-86684](https://nvd.nist.gov/vuln/detail/CVE-2026-86684), Public domain, modified 2026-10-13
- Bitnami Vulnerability Database: [BIT-GITEA-2026-86684](https://osv.dev/vulnerability/BIT-GITEA-2026-86684), Apache-2.0, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-86684 · Whole record: https://cve.day/CVE-2026-86684.json · Rebuilt by cve.day 2026-11-25T22:59:42.622Z
