---
title: "CVE-2025-64111: Gogs's update .git/config file allows remote command execution"
url: https://erroneo.us/security/cve/CVE-2025-64111/
description: "CVE-2025-64111 (gogs.io/gogs (Go)): Gogs is an open source self-hosted Git service. In version 0.13.3 and prior, due to the insufficient patch for…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-02-06
date_modified: 2026-02-26
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2025-64111"
kev: false
cvss: 9.3
epss: 0.01395
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2025-64111: Gogs's update .git/config file allows remote command execution

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 1.4% , percentile 72: FIRST’s model estimates a 1.4% chance of exploitation activity in the next 30 days, higher than 72% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes gogs.io/gogs (Go) <= 0.13.3, fixed in 0.13.4 . Check your lockfile, including transitive dependencies.

## What it is

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

- Go `gogs.io/gogs` <= 0.13.3 → fixed: 0.13.4

## Affected products (CVE record)

- gogs gogs: < 0.14.0+dev, < 0.13.4

## Severity

- GitHub_M CVSS 4.0: 9.3 `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`
- GitHub CVSS 4.0: 9.3 `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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.40% probability of exploitation activity in the next 30 days; percentile 72.

## Sources

- [GitHub Advisory GHSA-gg64-xxr9-qhjp](https://github.com/advisories/GHSA-gg64-xxr9-qhjp)
- [CVE.org record CVE-2025-64111](https://www.cve.org/CVERecord?id=CVE-2025-64111)
- [NVD entry CVE-2025-64111](https://nvd.nist.gov/vuln/detail/CVE-2025-64111)
- [github.com](https://github.com/gogs/gogs/security/advisories/GHSA-gg64-xxr9-qhjp)
- [github.com](https://github.com/gogs/gogs/blob/d940e692ec58abd45e648c054d7dfd88909034ec/internal/route/api/v1/repo/contents.go#L197-L206)

---
Source page: https://erroneo.us/security/cve/CVE-2025-64111/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
