CVE-2025-8110
Description
Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.
Severity
HIGH
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
CVSS v4
8.7
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/AU:Y/R:U/V:C · source cna
Exploit chance (EPSS)
80.252%
chance of exploitation in the next 30 days
higher than 99.6% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2026-01-12
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 1
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Gogs Path Traversal Vulnerability |
|---|---|
| Vendor / product | Gogs / Gogs |
| Date added | 2026-01-12 |
| Federal remediation due date | 2026-02-02 |
| Required action | Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-01-13 |
Timeline
- 2025-12-10Published by the CNA13:23 UTC
- 2025-12-10GitHub advisory published (GHSA-mq8m-42gh-wq7r)same day
- 2026-01-12Added to the CISA KEV catalog33 days after publication
- 2026-01-13CISA SSVC decision recorded34 days after publication
Exploit and advisory records
Nuclei templates:
- CVE-2025-8110: Gogs <= 0.13.3 - Remote Code Execution
GitHub advisory GHSA-mq8m-42gh-wq7r, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go gogs.io/gogs | through 0.13.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| gogs gogs | through 0.13.3no fix listed | not listed |
References
- https://github.com/gogs/gogs/commit/553707f3fd5f68f47f531cfcff56aa3ec294c6f6
- https://github.com/gogs/gogs/pull/8078
- http://wiz.io/blog/wiz-research-gogs-cve-2025-8110-rce-exploit
- http://www.openwall.com/lists/oss-security/2025/12/11/3
- http://www.openwall.com/lists/oss-security/2025/12/11/4
- http://www.openwall.com/lists/oss-security/2026/01/17/4
- http://www.openwall.com/lists/oss-security/2026/01/18/1
- http://www.openwall.com/lists/oss-security/2026/01/18/2
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-8110
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-8110'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-8110'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-8110'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-8110'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2025-8110'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).