Exploited vulnerabilities · Gogs
CVE-2025-8110
Gogs Path Traversal Vulnerability
Gogs contains a path traversal vulnerability affecting improper Symbolic link handling in the PutContents API that could allow for code execution.
Description in the NVD
Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.
Required action according to CISA
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
What to do now
- Check your exposureFind out whether Gogs Gogs runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- github.com/gogs/gogs/commit/553707f3fd5f68f47f531cfcff56aa3ec294c6f6
- github.com/gogs/gogs/pull/8078
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-8110
- nvd.nist.gov/vuln/detail/CVE-2025-8110
- github.com/advisories/GHSA-mq8m-42gh-wq7r
- github.com/gogs/gogs/pull/8082
- nvd.nist.gov/vuln/detail/CVE-2025-8110
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.