Appsecure logo

CVE-2025-8110: High Vulnerability in Gogs

A high-severity vulnerability in Gogs allows for local code execution through improper symbolic link handling in the PutContents API. Organizations must act quickly to mitigate potential risks associated with this flaw.

HIGHKnown ExploitedCVSS 8.7 · Published December 10, 2025

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

CVE-2025-8110 is a high-severity vulnerability discovered in Gogs, a self-hosted Git service. This vulnerability allows for local code execution due to improper symbolic link handling in the PutContents API. The CVSS score of 8.7 indicates a significant risk to organizations utilizing Gogs, as attackers can exploit this flaw with low complexity and minimal privileges.

The vulnerability was published on December 10, 2025, and has been actively exploited in the wild. As such, organizations should prioritize patching immediately to mitigate the risks associated with this vulnerability.

Risk to organizations includes potential unauthorized access and control over the affected systems. This could lead to data breaches and significant operational disruptions.

Defenders must assess their environments to identify Gogs installations and apply necessary mitigations as soon as possible.

Vulnerability Details

The official description of CVE-2025-8110 states: 'Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.' This vulnerability is classified under the CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').

The CVSS score of 8.7 reflects a high severity level, primarily due to the potential impacts on confidentiality, integrity, and availability, all rated as high. The vulnerability is present in all versions of Gogs up to and including 0.13.3.

The vulnerability was disclosed on December 10, 2025, and has been confirmed as actively exploited, as noted by its inclusion in the Known Exploited Vulnerabilities catalog.

Technical Analysis

The root cause of this vulnerability stems from improper handling of symbolic links within the PutContents API. Attackers can exploit this weakness by manipulating symbolic links to execute arbitrary code, leading to unauthorized actions within the affected Gogs instance.

The attack vector for this vulnerability is network-based, allowing remote attackers to initiate the exploit without requiring physical access to the affected system. The attack complexity is classified as low, meaning that an attacker with minimal skills can exploit this vulnerability.

Privileges required for exploitation are low, as a local user can leverage the vulnerability without needing elevated permissions. This increases the potential for successful exploitation, as many users may possess the necessary access.

User interaction is not required, simplifying the attack process further. The impact of a successful exploit includes high confidentiality, integrity, and availability effects, potentially compromising sensitive data and disrupting service.

Risk & Impact Analysis

The risks associated with CVE-2025-8110 are significant. Organizations deploying Gogs are at risk of unauthorized code execution, which can lead to data breaches, loss of integrity, and service disruptions. Given the high CVSS score, organizations should assess the deployment of Gogs and take immediate action to remediate any vulnerabilities.

The blast radius of this vulnerability is considerable, as it could affect multiple repositories and potentially allow for lateral movement within the network. Organizations should also consider the potential reputational damage that could result from a breach facilitated by this vulnerability.

Organizations should address this vulnerability in their priority patch cycle to prevent exploitation and safeguard their systems.

Exploitation Status

Signal

Status

Known Exploit

Yes

Public PoC

Yes

Actively Exploited

Yes

Ransomware Use

No

Affected Versions

All versions of Gogs prior to and including 0.13.3 are affected by this vulnerability. Organizations should review their deployment to identify any vulnerable instances.

Mitigation & Remediation

To mitigate this vulnerability, organizations should apply the latest patches provided by the vendor. For Gogs, this includes updating to the latest version where the vulnerability has been fixed. If immediate patching is not possible, organizations should consider disabling the PutContents API or implementing strict access controls to limit exposure.

Organizations should also consider implementing additional security measures such as input validation and monitoring for suspicious activity on Gogs instances. Continuous security testing is recommended to ensure that no similar vulnerabilities are present.

Continuous security testing can help identify and remediate similar vulnerabilities in the future.

Detection Guidance

Organizations should monitor logs for unusual file access patterns, particularly with symbolic links. Behavioral anomalies in API usage should also be detected to identify potential exploitation attempts. Implementing network signatures to detect abnormal traffic patterns can further aid in identifying exploitation attempts.

AppSecure Threat Intelligence Insight

The long-term significance of CVE-2025-8110 lies in its demonstration of how improper input handling can lead to critical vulnerabilities. Security teams should analyze this incident to enhance their security posture against similar vulnerabilities in the future.

This case emphasizes the importance of rigorous testing and validation processes in development. Organizations should implement strategies for regular security assessments to identify and remediate vulnerabilities proactively.

Penetration testing methodologies should be revised to include checks for path traversal vulnerabilities, ensuring that similar issues are identified before they can be exploited.

A robust vulnerability management program will be crucial in handling such security incidents effectively.

Cloud security assessments should also be considered, especially for organizations using Gogs in cloud environments.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.