CVE-2025-64111
Gogs's update .git/config file allows remote command execution
Reported by github_m · Published February 6, 2026
gogs.io/gogs is fixed in 0.13.4 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gogs.io/gogs | Go Modules | 0.13.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| gogs | gogs | < 0.14.0+dev, < 0.13.4 |
| gogs | gogs | 0, 0 |
| gogs.io | gogs | 0 |
Timeline
- Feb 6, 2026 CVE Published
- Feb 7, 2026 EPSS Score (30 in total, the first dated here)
- Feb 7, 2026 Security Advisory
- Feb 10, 2026 PoC Published (3 in total, the first dated here)
- Feb 26, 2026 CVE Updated
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-64111
vulnetix vdb fixes CVE-2025-64111
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-64111/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/gogs/gogs/security/advisories/GHSA-gg64-xxr9-qhjp x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2025-64111 advisory
- https://github.com/advisories/GHSA-gg64-xxr9-qhjp advisory
- https://github.com/gogs/gogs url
- https://github.com/gogs/gogs/blob/d940e692ec58abd45e648c054d7dfd88909034ec/internal/route/api/v1/repo/contents.go#L197-L206 url