File overwrite in file update API in Gogs
Exploited in the wild, in CISA KEV since 12 Jan 2026 (due 2 Feb 2026), with 10 public exploits. No fixed version is recorded.
Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.
Briefing
Written from the sources below · deepseek-v4.1-flash
Improper symbolic link handling in the PutContents API in Gogs enables local code execution through file overwrite. Gogs instances exposing this API are affected.
Why it mattersExploitation is confirmed and listed in CISA KEV, with public PoC, Nuclei template, and writeup available, so unpatched Gogs servers face active attack risk.
ActionUpgrade Gogs to a fixed release; if unavailable, apply vendor mitigations and check for symlink abuse indicators.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Gogs | Gogs | <=0.13.3 |
Exploit evidence
10 public sources
Coverage
News and research mentioning this CVE
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Gogs, strongest first
Embed
A live severity badge for an advisory, README or ticket