Gogs PutContents API symbolic link path traversal
CVE-2025-8110Known exploitedHigh
Gogs does not properly handle symbolic links in the PutContents API, allowing an attacker to traverse the file system and write files to arbitrary locations. An attacker with access to the PutContents API could exploit this to write malicious code to executable locations and achieve code execution on the system.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 12 Jan
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
Detail
Gogs. CISA 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.
Weakness: CWE-22 (opens in a new tab)
Affected versions
- gogs gogs: up to 0.13.3