CVE-2025-8110Gogs PutContents API symlink flaw allows code execution
CVSS score
8.7
High
CVSS 4.0 from 9947ef80-c5d5-474a-bbab-97341a59000e
Exploit probability (EPSS)
80.3%
80.3% chance of exploitation in the next 30 days, higher than 99.6% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 12 Jan 2026.
US federal deadline to fix: 2 Feb 2026.
In plain words
A logged-in user with write access to a repository can use symbolic links in the PutContents API to write files outside the intended location and run code on the server. Gogs 0.13.3 and earlier are affected, and CISA reports active exploitation. Apply the vendor's mitigations or stop using Gogs until a fix is in place.
Official description
Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.
Source: NVD · CNA: 9947ef80-c5d5-474a-bbab-97341a59000e
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 12 Jan 2026.
US federal agencies must fix it by 2 Feb 2026. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Check whether you're affected
Find every system running Gogs and compare its version with the affected versions.
Apply the vendor's fix
The official record doesn't name a fixed version. The vendor's advisory describes the fix:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:U/V:C/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| Gogs Gogs | ≤ 0.13.3 |
Weakness
- CWE-22 path traversal
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2025-8110 being exploited?
Yes. CISA added CVE-2025-8110 to its Known Exploited Vulnerabilities catalog on 12 Jan 2026, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 80.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2025-8110?
CVE-2025-8110 has a CVSS 4.0 base score of 8.7 (high).
Which versions are affected?
Gogs Gogs (≤ 0.13.3)
Is there a patch for CVE-2025-8110?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/gogs/gogs/commit/553707f3fd5f68f47f531cfcff56aa3ec294c6f6(Patch)
- github.com/gogs/gogs/pull/8078(Exploit, Issue Tracking, Patch)
- wiz.io/blog/wiz-research-gogs-cve-2025-8110-rce-exploit(Exploit, Third Party Advisory)
- www.openwall.com/lists/oss-security/2025/12/11/3(Mailing List)
- www.openwall.com/lists/oss-security/2025/12/11/4(Mailing List)
- www.openwall.com/lists/oss-security/2026/01/17/4(Mailing List)
- www.openwall.com/lists/oss-security/2026/01/18/1(Mailing List)
- www.openwall.com/lists/oss-security/2026/01/18/2(Mailing List)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-8110(Third Party Advisory, US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.