Vulnerability advisory
CVE-2025-64111
Gogs's update .git/config file allows remote command execution
Also known as GHSA-gg64-xxr9-qhjpGO-2026-4448
Severity
- CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/gogs/gogs ↗ | |
| All commits before d958a47a0e9d8747e399c687fdb3ec64a3b1a736 | d958a47a0e9d8747e399c687fdb3ec64a3b1a736 |
Also listed as affected (63)
| |
Description
Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, due to the insufficient patch for CVE-2024-56731, it's still possible to update files in the .git directory and achieve remote command execution. This issue has been patched in versions 0.13.4 and 0.14.0+dev.