CVE-2025-8110
File overwrite in file update API in Gogs
Exploited in the wild. In CISA KEV since 2026‑01‑12. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
Steps
Written by AI from the record- Check whether you use Gogs (gogs.io/gogs) and confirm it’s the version currently running in production.
- Upgrade Gogs to the fixed version(s) referenced by the vendor commits/PR: apply the changes from gogs/gogs commit 553707f3fd5f68f47f531cfcff56aa3ec294c6f6 or PR 8078.
- If you cannot upgrade immediately, block or restrict access to the Gogs “PutContents” file update functionality from untrusted networks (use an application firewall/WAF as recommended by the vendor) and limit who can reach the service.
- After upgrading/mitigation, verify the service still functions normally and review web/app logs for suspicious requests to file update endpoints.
What it is
From the CVE record
Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.
In plain language
Written by AI from the recordCVE-2025-8110 is a serious Gogs flaw that can let an attacker overwrite files (potentially leading to code execution); small businesses running Gogs should treat this as urgent and apply the fix or mitigation now.
CVE-2025-8110 is an arbitrary file overwrite in the Gogs PutContents API caused by improper symbolic-link handling, enabling an attacker with low authentication to overwrite files and potentially escalate to code execution or data corruption.
If you're affected
- Full system compromise
- Source code tampering
- Credential and data theft
- Service disruption
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Listed as exploited in the wild since 2026-01-12.
US federal agencies must remediate by 2026-02-02.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Public exploits
2 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
85% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 45 days before any public exploit.
- OpenVAS check added
- EPSS band changemoderate → high
- Public exploit / PoCsource: github-poc
- Nuclei check added
- Patch availablerecord updated
- Added to CISA KEV
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored 8.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- wiz.io/blog/wiz-research-gogs-cve-2025-8110-rce-exploit
- wiz.io/blog/wiz-research-gogs-cve-2025-8110-rce-exploit
- openwall.com/lists/oss-security/2025/12/11/3
And 11 more references. See all after sign-in
In the news
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Gogs, not every advisory. This one: actively exploited.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI