CVE Tools

CVE-2025-8110

File overwrite in file update API in Gogs

Published: Dec 10, 2025Updated: Jan 20, 2026 Sources: CVE List NVD GHSA BDUCWE-22

Description

Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.

In plain language

AI Act now

CVE-2025-8110 is a serious Gogs flaw that can let an attacker overwrite files (potentially leading to code execution); small businesses running Gogs should treat this as urgent and apply the fix or mitigation now.

Executive summary

CVE-2025-8110 is an arbitrary file overwrite in the Gogs PutContents API caused by improper symbolic-link handling, enabling an attacker with low authentication to overwrite files and potentially escalate to code execution or data corruption.

If affected, business impact
Full system compromiseSource code tamperingCredential and data theftService disruption

What to do now

  1. Check whether you use Gogs (gogs.io/gogs) and confirm it’s the version currently running in production.
  2. Upgrade Gogs to the fixed version(s) referenced by the vendor commits/PR: apply the changes from gogs/gogs commit 553707f3fd5f68f47f531cfcff56aa3ec294c6f6 or PR 8078.
  3. If you cannot upgrade immediately, block or restrict access to the Gogs “PutContents” file update functionality from untrusted networks (use an application firewall/WAF as recommended by the vendor) and limit who can reach the service.
  4. After upgrading/mitigation, verify the service still functions normally and review web/app logs for suspicious requests to file update endpoints.
Patch / advisory Some work to apply

CVSS Vector Breakdown

AV:NAC:LPR:LUI:NS:UC:HI:HA:H
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:LPrivileges Required
Low
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:HAvailability
High

Weaknesses

Affected Products

and 1 more affected products View all →

Exploitability

CISA Known Exploited Vulnerability
Added to KEV:Jan 12, 2026
Remediation due:Feb 2, 2026

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.

2 exploit sources identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

2 techniques
Collection
Discovery
View detailed technique mapping

References

and 11 more references View all →
2

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2025-8110 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows