CVE-2026-86684
published high CVSS 3.1 · 7.1Gitea push mirror local path check uses the repository owner
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 1.18.0 through 28.0.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 1.18.0 through 28.0.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-863 CWE-863: Incorrect Authorization
References
5- Gitea 28.1.0 release announcement https://blog.gitea.com/release-of-28.1.0/
- Fix: go-gitea/gitea pull request #39501 https://github.com/go-gitea/gitea/pull/39501
- Fix backport to release/v28: go-gitea/gitea pull request #39507 https://github.com/go-gitea/gitea/pull/39507
- go-gitea/gitea v28.1.0 release https://github.com/go-gitea/gitea/releases/tag/v28.1.0
- GitHub Security Advisory GHSA-7v5j-mph8-9w6g https://github.com/go-gitea/gitea/security/advisories/GHSA-7v5j-mph8-9w6g
Provider assertions
2Gitea · cna
Gitea push mirror local path check uses the repository owner
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 36129d861eb6073434ac625a99ca0bff6234569171f885c8bb922fb5deae25fe
- Ingested
- 07 Oct 2026, 22:46:52 UTC
- Source record
- Official CVE record