HIGH

CVE-2025-8110

Gogs Gogs 2025-12-10 CVSS v3.1
CVSS
8.8
KEV

Description

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

Summary dbcve.org

Improper symbolic link handling in the PutContents API of Gogs allows an attacker to write files to arbitrary locations on the host system through malicious symlinks, leading to local code execution.

Mitigation

Fix the PutContents API to properly validate and resolve symbolic links before file operations, ensuring symlinks cannot be used to traverse outside the intended repository directory.

Proof of Concept
Patch Commit

Weakness (CWE)

CWE-22 Path Traversal

EPSS Score

82.47%
Probability of exploitation in next 30 days
99.6th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE