CyberRota Analysis
AI-GeneratedThe vulnerability affects Gitea's push mirror API, which improperly checks permissions, allowing a repository administrator to exploit local file system paths when the `[security] IMPORT_LOCAL_PATHS` setting is enabled. This could lead to unauthorized access and manipulation of repositories, as the Gitea process would push data into existing Git repositories with elevated permissions. Organizations using Gitea with this configuration should prioritize addressing this issue to prevent potential data breaches or unauthorized repository modifications.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.
Related CVEs
Other vulnerabilities affecting the same vendor(s)