CVE-2026-86684

high

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.

References

https://github.com/go-gitea/gitea/security/advisories/GHSA-7v5j-mph8-9w6g

https://github.com/go-gitea/gitea/releases/tag/v28.1.0

https://github.com/go-gitea/gitea/pull/39507

https://github.com/go-gitea/gitea/pull/39501

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-94051

https://blog.gitea.com/release-of-28.1.0/

Details

Source: Mitre, NVD

Published: 2026-10-06

Updated: 2026-10-07

Risk Information

CVSS v2

Base Score: 3.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:N

Severity: Low

CVSS v3

Base Score: 7.1

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Severity: High

EPSS

EPSS: 0.00148