Skip to main content
← All vulnerabilities
CVE-2026-86684BIT-GITEA-2026-86684GHSA-7V5J-MPH8-9W6G

Gitea push mirror local path check uses the repository owner

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 28.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • gitea.dev

    From 1.18.0 · through 28.0.0

  • giteaBitnami

    From 1.18.0 · fixed in 28.1.0

References 5

GitHub · go-gitea/gitea

blog.gitea.com