Live threats

All CVEs / Gogs

CVE-2025-8110Gogs

Local Code Execution via Improper Symbolic Link Handling in Gogs PutContents API

High 8.7 KEV

Priority
52
CVSS 4.0
8.7
EPSS
—
Auth required
Yes
In KEV since
Jan 12, 2026
CISA deadline
Feb 2, 2026
Ransomware use
Unknown
Published
Dec 10, 2025
Updated
Oct 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:4.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

What happens

Gogs version 0.13.3 and earlier contains a path traversal vulnerability in the PutContents API that allows authenticated users to execute local code through improper symbolic link handling. CISA has confirmed this vulnerability is being actively exploited.

Show the original NVD text

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

Source text, unmodified. NVD.

Exploitation confirmed by CISA

Gogs contains a path traversal vulnerability affecting improper Symbolic link handling in the PutContents API that could allow for code execution.

Action required by CISA: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Source text, unmodified. CISA KEV.

What to do

Patch available

Update Gogs to a version after 0.13.3 or apply the patch available in the official repository. Review commit 553707f3fd5f68f47f531cfcff56aa3ec294c6f6 for details.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for Gogs.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was February 2, 2026.
  3. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go gogs.io/gogs ≤ 0.13.3 no fixed version —
Go gogs.io/gogs all no fixed version —

Per OSV / GitHub Advisories (GHSA-mq8m-42gh-wq7r, GO-2025-4225). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gogsgogs≤ 0.13.3

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.