CVE-2025-8110: Authenticated RCE via symbolic link traversal in Gogs PutContents API
- Vendor
- Gogs
CVE-2025-8110 is a symbolic link-based path traversal vulnerability in the PutContents API used by the Gogs repository file editor. It bypasses protections implemented for CVE-2024-55947 because repository file operations do not adequately account for symbolic links. An authenticated attacker can commit a symbolic link targeting a file outside the repository and then use PutContents to write through that link. The operating system follows the link, allowing the attacker to overwrite files accessible to the Gogs service account. Overwriting Git configuration can turn this file-write primitive into remote code execution. Gogs 0.13.3 and earlier are identified as affected. The vulnerability has been actively exploited and was added to CISA's Known Exploited Vulnerabilities catalog on January 12, 2026.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary file overwrites outside the repository, subject to the Gogs process's filesystem permissions, and can lead to arbitrary code execution with the privileges of the Gogs service account. This can compromise the confidentiality and integrity of accessible repositories and application data and permit disruption of the service. The extent of host compromise depends on the service account's privileges and access.
Mitigation
If you can’t patch tonight, do this now.
Disable open user registration and restrict access to trusted users through a VPN or network allow-list instead of exposing Gogs publicly. Disabling registration reduces opportunities for attackers to acquire accounts but does not prevent exploitation by existing or compromised accounts. Apply least-privilege filesystem permissions to the Gogs service account to limit the scope of arbitrary writes and resulting code execution.
Remediation
Patch, then assume compromise.
Deploy a vendor-confirmed fix specifically addressing CVE-2025-8110. A verified fixed release version is currently not available in the supplied vulnerability information. Gogs pull request #8082 was identified as a proposed fix, but its path-checking approach was challenged because of potential time-of-check/time-of-use races; it should not be assumed sufficient without confirmation. A robust fix must prevent symbolic link traversal throughout path resolution and subsequent filesystem operations, rather than relying solely on pre-operation checks. Discontinue use if neither a verified fix nor adequate mitigations can be applied.
Exploits
29 exploits validated by Mallory's analysis. Hidden: 5 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries. Showing the 25 most capable, earliest first.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-8110 exploited in the wild?
- Yes. As of Nov 7, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jan 12, 2026.
- Is there a public exploit for CVE-2025-8110?
- Yes. Mallory tracks 29 public exploits or proofs of concept for CVE-2025-8110, the earliest disclosed Dec 11, 2025.
- Is there a patch for CVE-2025-8110?
- Deploy a vendor-confirmed fix specifically addressing CVE-2025-8110. A verified fixed release version is currently not available in the supplied vulnerability information.
- What products are affected by CVE-2025-8110?
- Gogs.
- How severe is CVE-2025-8110?
- CVE-2025-8110 has a CVSS v4 score of 8.7 (High) and an EPSS score of 20.4% (98th percentile) as of Nov 7, 2026.
Recent activity
147 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.