Gogs · Gogs
CVE-2025-8110
Gogs Path Traversal Vulnerability
What it is
Gogs contains a path traversal vulnerability affecting improper Symbolic link handling in the PutContents API that could allow for code execution.
Am I affected?
Only if you run Gogs Gogs, or a service built on it, in a version the vendor lists as affected. The vendor's advisory in the references gives the affected and fixed versions.
CISA adds a vulnerability to this list only when there is reliable evidence of attacks using it, so treat it as urgent if you run an affected version.
What to do
- Find out whether you run Gogs, and which version, including on hosting or services you don't manage day to day.
- Apply the vendor's update or mitigation from the advisory below. If there is none yet, follow the vendor's workaround, or take the product off the internet until it's fixed.
- Because this is being exploited, check the system for signs it was already compromised before you patched: unknown accounts, changed files, and unusual outbound connections.
CISA's 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.
US federal agencies must act by 2 February 2026.
References
- github.com · https://github.com/gogs/gogs/commit/553707f3fd5f68f47f531cfcff56aa3ec2…
- NVD — CVE-2025-8110
Check your own site
A free scan checks your site's HTTPS, headers, cookies, exposed keys and malware signs, with the fix for each issue.