CVE-2025-8110KEV · OVERDUECWE-22path-traversal

Gogs Path Traversal Vulnerability

High · published December 10, 2025

Patch now

Confirmed exploited, and the score agrees

CVSS calls it high at 8.8. It is confirmed in active exploitation. It sits in the 99.7th percentile for exploit probability.

264
days past CISA
deadline
CVSS v3.1
8.8
EPSS
85%
Percentile
99.7
In the wild
Confirmed
What it is

⚡ Watch out! Improper symbolic link handling in Gogs' PutContents API could let attackers execute code right on your server! 🔥 Think of it like a delivery person who accidentally leaves a package at the wrong address, allowing an unauthorized party to open it and tamper with its contents. This vulnerability essentially gives the attacker a key to unlock the server's commands! An attacker can exploit this flaw to execute arbitrary code, which could lead to a complete takeover of the system! Imagine malicious actors accessing sensitive data or manipulating server operations as if they had insider access — absolutely devastating!

Put simply

Think of it like a delivery person who accidentally leaves a package at the wrong address, allowing an unauthorized party to open it and tamper with its contents. This vulnerability essentially gives the attacker a key to unlock the server's commands! This vulnerability in Gogs arises from improper handling of symbolic links in the PutContents API, allowing local code execution by tricking the application into following an unexpected file path.

What to do

An attacker can exploit this flaw to execute arbitrary code, which could lead to a complete takeover of the system! Imagine malicious actors accessing sensitive data or manipulating server operations as if they had insider access — absolutely devastating! To safeguard your system, immediately patch Gogs to the latest version, which resolves this issue. Additionally, review permissions on your symbolic links to ensure they’re appropriately restricted. 🔒 This is fixable! Just follow these steps, and you'll have your Gogs installation secured in no time! 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.85202 · 99.7th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-12-10T19:16Z
KEV added
2026-01-12 · due 2026-02-02
Affected products (1)
ProductVersionsFixed in
gogs/gogs≤ 0.13.3—
References (9)
EPSS history
Timeline
  • 12 JAN 00:00Z
    Added to CISA KEV — remediate by Feb 2
    kev
  • 10 DEC 13:23Z
    File overwrite in file update API in Gogs
    cvelistv5