CVE-2025-64111 PUBLISHED

Gogs's update .git/config file allows remote command execution

Assigner: GitHub_M
Reserved: 27.10.2025 Published: 06.02.2026 Updated: 07.02.2026

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.

Metrics

CVSS 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
CVSS Score: 9.3

Product Status

Vendor gogs
Product gogs
Versions
  • Version < 0.14.0+dev is affected
  • Version < 0.13.4 is affected

References

Problem Types

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE