Vulnerability · Published Oct 6, 2026 · Assigned by Gitea
CVE-2026-86684Gitea push mirror local path check uses the repository owner
High 7.1
In plain English
A high-severity incorrect authorization in Gitea from Gitea. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities).
Official 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 (as reported)
Weakness: CWE-863 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- GitHub Security Advisory GHSA-7v5j-mph8-9w6g vendor-advisory
- Fix: go-gitea/gitea pull request #39501 patch
- Fix backport to release/v28: go-gitea/gitea pull request #39507 patch
- Gitea 28.1.0 release announcement release-notes
- go-gitea/gitea v28.1.0 release release-notes