CVE-2025-8110
File overwrite in file update API in Gogs
Description
Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.
INFO
Published Date :
Dec. 10, 2025, 2:16 p.m.
Last Modified :
Dec. 10, 2025, 2:16 p.m.
Remotely Exploit :
Yes !
Source :
9947ef80-c5d5-474a-bbab-97341a59000e
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 4.0 | HIGH | 9947ef80-c5d5-474a-bbab-97341a59000e | ||||
| CVSS 4.0 | HIGH | 9947ef80-c5d5-474a-bbab-97341a59000e |
Solution
- Update Gogs to the latest version.
- Review and sanitize all symbolic link operations.
- Implement strict input validation for API calls.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-8110.
| URL | Resource |
|---|---|
| http://wiz.io/blog/wiz-research-gogs-cve-2025-8110-rce-exploit |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-8110 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-8110
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-8110 vulnerability anywhere in the article.
-
The Register
700+ self-hosted Gits battered in 0-day attacks with no fix imminent
Attackers are actively exploiting a zero-day bug in Gogs, a popular self-hosted Git service, and the open source project doesn't yet have a fix. More than 700 instances have been compromised in the on ... Read more
The following table lists the changes that have been made to the
CVE-2025-8110 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 9947ef80-c5d5-474a-bbab-97341a59000e
Dec. 10, 2025
Action Type Old Value New Value Added Description Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code. Added CVSS V4.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 Added CWE CWE-22 Added Reference http://wiz.io/blog/wiz-research-gogs-cve-2025-8110-rce-exploit