CVE-2026-86684: Gitea push mirror local path check uses the repository owner
Vulnerability summary
CVE-2026-86684 is a high (CVSS 7.1) Incorrect Authorization vulnerability in gitea. EPSS estimates a 0.11% chance of exploitation in the next 30 days, higher than 1.4% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 06-10-2026PublishedVulnerability first disclosed.
- 07-10-2026Last modifiedVulnerability information updated.
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 metrics
2 scores · 2 sources · 1 version- NVDNIST7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.11%
Chance of exploitation in the next 30 days
Percentile
1%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundGitea
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Gitea1 product
- gitea≥ 1.18.0, ≤ 28.0.0 | ≥ 1.18.0, < 28.1.0
1 vendor · 1 product
References
5 links- blog.gitea.com/release-of-28.1.0/Release Notes
- github.com/go-gitea/gitea/releases/tag/v28.1.0Release Notes