/Vulnerability Library

Gogs <= 0.13.3 - Remote Code Execution

CVE-2025-8110
Verified

Description

Gogs self-hosted Git service versions 0.13.3 and earlier contain a critical symlink bypass vulnerability that circumvents the fix for CVE-2024-55947. Authenticated users can exploit improper symbolic link handling in the PutContents API to overwrite files outside the repository by committing a symlink pointing to sensitive targets, leading to remote code execution. As of December 2025, this remains an unpatched zero-day with active exploitation ongoing. Approximately 1,400 exposed Gogs instances exist, with over 700 showing signs of compromise. The vulnerability stems from the API writing to file paths without checking if targets are symlinks pointing outside the repository. Gogs maintainers are working on a fix.

Severity

High

CVSS Score

8.8

Exploit Probability

80%

Affected Product

gogs

Published Date

January 13, 2026

Template Author

rxerium

CVE-2025-8110.yaml
8.8Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE ID:
cve-2025-8110
CWE ID:
cwe-22

References

https://www.wiz.io/blog/wiz-research-gogs-cve-2025-8110-rce-exploithttps://thehackernews.com/2025/12/unpatched-gogs-zero-day-exploited.htmlhttps://github.com/advisories/ghsa-mq8m-42gh-wq7rhttps://nvd.nist.gov/vuln/detail/CVE-2025-8110

Remediation Steps

Update to the latest version of Gogs.