Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 8.1 score reflects: Network attack vector (AV:N), Low complexity (AC:L), No privilege requirements (PR:N), but User interaction required (UI:R), with High confidentiality and integrity impact (C:H/I:H) but No availability impact (A:N). The real-world risk is substantial because: (1) UI:R is the primary limiting factor—the attack requires a user to visit a malicious site, but this is trivially achievable through social engineering, advertisement injection, or compromised websites; (2) PR:N means any unauthenticated attacker can craft the exploit; (3) The ability to execute arbitrary GraphQL mutations could enable account takeover, data exfiltration, project/group deletion, or privilege escalation depending on available mutations; (4) This affects all three active GitLab release branches (16.1+, 17.0, 17.1), indicating widespread exposure across the installed base. The EPSS probability would likely be elevated (>0.70) due to network accessibility and ease of exploitation once a victim visits a malicious site. KEV status and POC availability are critical signals—if this appears in CISA KEV or public exploits exist, this moves from theoretical to immediate priority. The vulnerability is not automatically exploitable (automation would require victim interaction), but the technical impact is severe. Under SSVC, this should be classified as exploitation:active or exploitation:poc with technical impact:total, driving priority to scheduled patching within days rather than weeks. |
| Exploit ScenarioDerived | An attacker creates a malicious website (e.g., a fake job posting site, cryptocurrency faucet, or compromised legitimate website) containing embedded JavaScript or an invisible iframe. When a GitLab user (who is already logged into their GitLab instance) visits this attacker-controlled site, the JavaScript automatically sends a GraphQL mutation request to the victim's GitLab instance (e.g., https://victims-gitlab.com/api/graphql). Because the user is already authenticated and the GraphQL endpoint lacks CSRF protection, the request is accepted and executed with the victim's privileges. The attacker could craft mutations to: (1) Create a new admin user under their control; (2) Add themselves to sensitive projects or groups; (3) Modify project settings to enable CI/CD pipeline execution; (4) Exfiltrate sensitive data through mutation side-effects; (5) Delete critical projects or repositories. The attack requires no special privileges from the attacker and succeeds silently in the background; the victim may not notice the unauthorized changes immediately. If a proof-of-concept exists in public repositories, the attack becomes trivial to execute at scale. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
CVE-2024-4994 is a Cross-Site Request Forgery (CSRF) vulnerability in GitLab's GraphQL API that allows unauthenticated attackers to execute arbitrary GraphQL mutations through a malicious website visited by authenticated GitLab users. This affects GitLab CE/EE versions 16.1.0-16.11.4, 17.0.0-17.0.2, and 17.1.0, with a CVSS score of 8.1 indicating high severity. The vulnerability requires user interaction (clicking a malicious link) but can result in unauthorized data manipulation or system compromise depending on the mutations executed.
RemediationAI
Immediate remediation: (1) Upgrade GitLab to patched versions: 16.11.5 or later (for 16.1.x-16.11.x users), 17.0.3 or later (for 17.0.x users), or 17.1.1 or later (for 17.1.x users); (2) Follow GitLab's official upgrade procedure to ensure database migrations and service restarts complete successfully. Short-term mitigations if immediate patching is not possible: (1) Implement Web Application Firewall (WAF) rules to detect and block GraphQL mutation requests originating from cross-origin sources (check for missing or invalid CSRF tokens on GraphQL endpoints); (2) Restrict GraphQL API access to trusted networks using network-level controls; (3) Implement Content Security Policy (CSP) headers to limit the ability of malicious sites to forge requests. Monitor for signs of exploitation by reviewing GraphQL mutation logs for suspicious activity, particularly mutations that alter user permissions, group memberships, or project data from unexpected sources. For GitLab.com SaaS users, GitLab has patched the platform; self-managed instances must apply patches manually.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in GitLab's GraphQL API endpoint implementation, which failed to implement proper CSRF token validation for state-changing operations (mutations). GraphQL mutations are the write/modification operations within GraphQL, analogous to POST/PUT/DELETE in REST APIs. The root cause is CWE-352 (Cross-Site Request Forgery), where the API accepts authenticated GraphQL mutation requests from cross-origin sources without verifying that the request originated from a legitimate GitLab interface. This is a classic CSRF vulnerability pattern where an attacker crafts a malicious webpage containing GraphQL mutation payloads that execute when a logged-in user visits the attacker's site. The vulnerability affects CPE:2.3:a:gitlab:gitlab:* versions spanning multiple release branches (16.1.x, 17.0.x, 17.1.x), indicating the vulnerability was introduced or persisted across multiple major releases.
Know when Gitlab gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
An issue has been discovered in GitLab CE/EE affecting all versions from 16.1.0 before 16.11.5, all versions starting from 17.0 before 17.0.3, all versions starting from 17.1.0 before 17.1.1 which allowed for a CSRF attack on GitLab's GraphQL API leading to the execution of arbitrary GraphQL mutations.
Executive ViewAI
GitLab instances running versions 16.1.0-16.11.4, 17.0.0-17.0.2, or 17.1.0 are vulnerable to cross-site request forgery (CSRF) attacks that could allow attackers to execute unauthorized actions through the GraphQL API without user interaction. This affects any organization using GitLab CE/EE for source code management, potentially compromising code integrity, access controls, and sensitive repository data.
Deploy Web Application Firewall (WAF) rules to detect and block CSRF tokens in GraphQL mutation requests lacking proper origin validation; implement network segmentation to restrict GraphQL API access to trusted internal networks only; disable GraphQL API entirely if not operationally required; enforce strict CORS policies and SameSite cookie attributes; monitor and alert on unusual GraphQL mutation activity; require VPN/MFA for all GitLab access; consider reverse proxy with CSRF validation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10
An issue has been discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9, 16.
When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af
Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the
Remote code execution in GitLab CE/EE (all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2)
The SSH key upload feature (lib/gitlab_keys.rb) in gitlab-shell before 1.7.3, as used in GitLab 5.0 before 5.4.1 and 6.x
A vulnerability in GitLab CE/EE affecting all versions from 11.10 prior to 15.1.6, 15.2 to 15.2.4, 15.3 to 15.3.2 allows
The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t
Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul
Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha
The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
Same weakness CWE-352 – Cross-Site Request Forgery (CSRF)
View allVendor StatusVendor
Ubuntu
Priority: Medium| Release | Status | Version |
|---|---|---|
| xenial | ignored | - |
| jammy | DNE | - |
| noble | DNE | - |
| oracular | DNE | - |
| plucky | DNE | - |
| upstream | needs-triage | - |
Debian
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| sid | vulnerable | 17.6.5-19 | - |
| (unstable) | fixed | (unfixed) | - |
EUVD-2024-54992
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB