CVE-2026-4922

8.1

GitLab · GitLab CE/EE

GitLab CE/EE is vulnerable to cross-site request forgery, allowing unauthenticated attackers to execute GraphQL mutations on behalf of authenticated users due to insufficient CSRF protection.

Executive summary

A vulnerability in GitLab CE/EE allows unauthenticated attackers to perform unauthorized actions on behalf of authenticated users, presenting a significant risk to application integrity.

Vulnerability

This is a Cross-Site Request Forgery (CWE-352) vulnerability. The flaw exists because of insufficient CSRF protection, which allows an unauthenticated attacker to force an authenticated user to execute GraphQL mutations without their consent.

Business impact

Successful exploitation allows an attacker to perform actions within the GitLab environment under the identity of an authenticated user. Given the CVSS score of 8.1, this is a high-severity issue that could lead to unauthorized data modification, account takeover, or the manipulation of development workflows, potentially resulting in severe operational disruption and loss of trust in the integrity of the CI/CD pipeline.

Remediation

Immediate Action: Upgrade GitLab CE/EE instances immediately to version 18.9.6, 18.10.4, 18.11.1, or any higher version provided by the vendor.

Proactive Monitoring: Monitor access logs and GraphQL mutation endpoints for unusual patterns or requests originating from unexpected sources that do not correspond to legitimate user activity.

Compensating Controls: Ensure that SameSite cookie attributes are strictly enforced and consider implementing additional authentication challenges for sensitive mutations if immediate patching is delayed.

Exploitation status

Public Exploit Available: Yes, a published proof-of-concept exists, as documented in the linked HackerOne report (https://hackerone.com/reports/3627285).

Analyst recommendation

The high severity of this vulnerability, combined with the availability of a published proof-of-concept, necessitates immediate action. Security teams must prioritize patching their GitLab environments to the specified versions to prevent unauthorized execution of GraphQL mutations and protect the integrity of their development infrastructure.

More GitLab CVEs

Sources

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