Vulnerability · Published Feb 6, 2026 · Assigned by GitHub_M
CVE-2025-64111Gogs's update .git/config file allows remote command execution
Critical 9.3
In plain English
A critical-severity OS command injection in gogs from gogs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 4.0)9.3Critical
Exploit odds (30 days)1.4%top 27.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | gogs.io/gogs | 0.13.4 | GHSA-gg64-xxr9-qhjp |
| Go | gogs.io/gogs | no fix listed | GO-2026-4448 |
Affected products (as reported)
Weakness: CWE-78 · Vector: 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
References
- https://github.com/gogs/gogs/security/advisories/GHSA-gg64-xxr9-qhjp x_refsource_CONFIRM