CVE-2025-7659

8.0

GitLab · GitLab CE/EE

An origin validation error in the GitLab Web IDE allows unauthenticated attackers to steal tokens and access private repositories.

Executive summary

A critical origin validation vulnerability in GitLab CE/EE allows unauthenticated attackers to steal sensitive tokens and access private repositories.

Vulnerability

The flaw is an Origin Validation Error (CWE-346) within the Web IDE component. It allows an unauthenticated user to bypass security controls and gain unauthorized access to private repository data by manipulating the validation process.

Business impact

Successful exploitation of this vulnerability poses a severe risk to intellectual property and source code security. An attacker can exfiltrate sensitive tokens to gain unauthorized access to private repositories, potentially leading to significant data breaches and loss of proprietary information. Given the CVSS score of 8.0, this is classified as a high-severity issue that requires immediate attention to prevent unauthorized access to critical development assets.

Remediation

Immediate Action: Upgrade GitLab CE/EE instances to version 18.6.6, 18.7.4, or 18.8.4 immediately to resolve the validation flaw.

Proactive Monitoring: Review access logs for suspicious activity involving the Web IDE component and monitor for unusual token usage patterns.

Compensating Controls: Implement strict network access controls for the GitLab instance and ensure that Web Application Firewalls are configured to inspect incoming requests for anomalous origin headers.

Exploitation status

Public Exploit Available: Yes, a published PoC exists, attributed to the research report hosted on HackerOne.

Analyst recommendation

The presence of a published PoC combined with the ability for unauthenticated attackers to access private repositories necessitates an urgent response. Organizations should prioritize patching affected GitLab environments to the specified fixed versions to neutralize this threat. Failure to update may expose sensitive source code and credentials to unauthorized parties.

More GitLab CVEs

Sources

Originally found and disclosed by Thanks [cav0ur](https://hackerone.com/cav0ur) for reporting this vulnerability through our HackerOne bug bounty program, per the CVE Program record.