LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2025-8110: Gogs Path Traversal Vulnerability

RBRecent Breaches Vulnerability Intelligence·Jan 12, 2026
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Feb 2, 2026
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2025-8110 to its Known Exploited Vulnerabilities catalog on Jan 12, 2026, with a federal patch deadline of Feb 2, 2026 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

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

Gogs is a self-hosted Git service that contains a path traversal vulnerability. The flaw stems from improper symbolic link handling in the PutContents API and can allow an attacker to execute code on the affected system. Organizations running Gogs should treat this as a priority because successful exploitation can lead to full compromise of the instance and any repositories or data it manages.

How it works

The weakness is categorized as CWE-22, path traversal. An attacker can abuse improper symbolic link handling within the PutContents API to reference files outside the intended directory. This class of flaw lets requests traverse the filesystem using crafted paths or links, potentially reaching sensitive files or locations where code execution becomes possible. No specific exploit mechanics or payload details are provided in the available information; confirm exact behavior against the vendor advisory.

Am I affected? How to find it in your systems

Gogs is typically deployed as a lightweight, self-hosted Git server on Linux or container platforms. Inventory all instances by checking running processes, container images, or service definitions that reference the Gogs binary or its configuration files. Examine any exposed web ports or internal development environments where Gogs may be present. Because no specific versions are listed here, compare installed releases and configuration settings directly against the vendor advisory to determine exposure. Telemetry indicators of attempted exploitation are not detailed in the supplied facts; monitor for anomalous API requests to the PutContents endpoint and review file-access logs for unexpected symbolic link operations.

How to remediate

Apply the vendor update named in the advisory as the primary step. After patching, review Gogs configuration for any settings that control file handling or API access and restrict them to the minimum required. For the path traversal class in general, enforce strict input validation on file paths, disable unnecessary symbolic link support where feasible, and run the service under a dedicated low-privilege account. Confirm all steps against the official vendor advisory rather than relying on general guidance.

If you can't patch immediately

Follow the mitigations specified in the vendor instructions. Where Gogs is provided as a cloud service, apply any applicable BOD 22-01 guidance. If mitigations cannot be implemented, discontinue use of the product until a fix is in place. Additional compensating measures for this weakness class include network segmentation to limit access to the Gogs instance, web application firewall rules that block traversal patterns in requests, and disabling or restricting the PutContents API if business needs allow.

If your data may have been exposed

Path traversal issues that permit code execution have been used to facilitate breaches. Review authentication logs and repository access records for signs of unauthorized activity. You can run a free exposure scan of your email addresses against known breach data to check for related incidents.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedGogs · Gogs
WeaknessCWE-22
Added to CISA KEVJan 12, 2026
Federal patch deadlineFeb 2, 2026
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities