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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductGitea
PublishedOct 6, 2026
First seenOct 6, 2026

How to fix

Affected products

ProductAffected versionsFixed in
gitea gitea1.18.0 ≤ v < 28.1.028.1.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.