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.
Also found: Mitigation available · Affected version boundary identified
Built only from official records (NVD, the CVE List and CISA). No AI. Always confirm applicability for your exact version and platform in the vendor advisory. NVD record last modified 13 Oct 2026, 18:05 UTC · checked by StraitOfVuln 02 Dec 2026, 20:47 UTC.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N · Attack vector: Local| https://github.com/go-gitea/gitea/security/advisories/GHSA-7v5j-mph8-9w6g | ExploitMitigationVendor Advisory |
| https://github.com/go-gitea/gitea/pull/39501 | PatchIssue Tracking |
| https://github.com/go-gitea/gitea/pull/39507 | PatchIssue Tracking |
| https://blog.gitea.com/release-of-28.1.0/ | Release Notes |
| https://github.com/go-gitea/gitea/releases/tag/v28.1.0 | Release Notes |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Gitea Gitea