CVE-2026-86684

Name
CVE-2026-86684
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Release Notes https://blog.gitea.com/release-of-28.1.0/
Patch https://github.com/go-gitea/gitea/pull/39501
Patch https://github.com/go-gitea/gitea/pull/39507
Release Notes https://github.com/go-gitea/gitea/releases/tag/v28.1.0
Exploit https://github.com/go-gitea/gitea/security/advisories/GHSA-7v5j-mph8-9w6g

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:* gitea >= 1.18.0 < 28.1.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
gitea edge-community 1.27.3-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.27.1-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.4-r4 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.4-r3 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.4-r2 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.4-r1 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.4-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.3-r2 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.3-r1 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.25.3-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.6-r2 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.6-r1 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.6-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.5-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.1-r3 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.1-r2 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.1-r1 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.1-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.24.0-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.8-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.7-r1 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.7-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.6-r1 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.6-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.5-r1 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.5-r0 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea edge-community 1.23.1-r2 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.23.1-r1 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.23.1-r0 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.22.6-r0 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.22.5-r0 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.22.4-r0 6543 <6543@obermui.de> possibly vulnerable
gitea edge-community 1.21.3-r0 6543 <6543@obermui.de> possibly vulnerable
gitea 3.24-community 1.25.4-r5 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea 3.24-community 1.25.4-r4 techknowlogick <techknowlogick@gitea.com> possibly vulnerable
gitea 3.24-community 1.25.4-r3 techknowlogick <techknowlogick@gitea.com> possibly vulnerable