CVE-2025-64111: critical vulnerability in gogs
Gogs's update .git/config file allows remote command execution
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Gogs allows attackers to modify Git configuration files through a web request, enabling them to execute arbitrary commands on the server. This is a critical vulnerability affecting older versions of the self-hosted Git service.
The vulnerability exploits insufficient input validation in file update operations, allowing modification of .git/config files through the web interface. An attacker can inject malicious Git commands that execute with server privileges, leading to remote code execution. Affected versions prior to 0.13.4 and 0.14.0+dev are vulnerable.
In the same product, most dangerous first.