Improper Control of Generation of Code ('Code Injection') in GitLab (CVE-2026-19478)
A critical code injection vulnerability (CVE-2026-19478) in GitLab CE/EE allows unauthenticated users under certain conditions to remotely modify or delete public projects and user data via a GraphQL directive. This affects multiple GitLab versions from 18.2 up to but not including 18.11.11, 19.0 up to 19.0.8, 19.1 up to 19.1.6, and 19.2 up to 19.2.4. The issue has been remediated by GitLab with patches available for the affected versions.
AI Analysis
Technical Summary
GitLab CE/EE versions >=18.2.0 <18.11.11, >=19.0.0 <19.0.8, >=19.1.0 <19.1.6, and >=19.2.0 <19.2.4 contain a vulnerability involving improper control of code generation (code injection) via a GraphQL directive. This flaw could allow an unauthenticated attacker to remotely modify or delete public projects and user data. The vulnerability is identified as CWE-94 (Improper Control of Generation of Code) and CWE-352 (Cross-Site Request Forgery). GitLab has released patches to fix this issue in the specified versions.
Potential Impact
Exploitation of this vulnerability could lead to unauthorized remote modification or deletion of public projects and user data in affected GitLab instances. This poses a critical risk to data integrity and availability for organizations using vulnerable GitLab versions.
Mitigation Recommendations
A patch is available and has been released by GitLab to remediate this vulnerability. Users should upgrade affected GitLab CE/EE instances to versions 18.11.11 or later for the 18.x branch, 19.0.8 or later for the 19.0 branch, 19.1.6 or later for the 19.1 branch, and 19.2.4 or later for the 19.2 branch. Applying these official fixes will mitigate the risk. No additional mitigation steps are indicated by the vendor advisory.
Improper Control of Generation of Code ('Code Injection') in GitLab (CVE-2026-19478)
Description
A critical code injection vulnerability (CVE-2026-19478) in GitLab CE/EE allows unauthenticated users under certain conditions to remotely modify or delete public projects and user data via a GraphQL directive. This affects multiple GitLab versions from 18.2 up to but not including 18.11.11, 19.0 up to 19.0.8, 19.1 up to 19.1.6, and 19.2 up to 19.2.4. The issue has been remediated by GitLab with patches available for the affected versions.
Affected software
pkg:bitnami/gitlabRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
GitLab CE/EE versions >=18.2.0 <18.11.11, >=19.0.0 <19.0.8, >=19.1.0 <19.1.6, and >=19.2.0 <19.2.4 contain a vulnerability involving improper control of code generation (code injection) via a GraphQL directive. This flaw could allow an unauthenticated attacker to remotely modify or delete public projects and user data. The vulnerability is identified as CWE-94 (Improper Control of Generation of Code) and CWE-352 (Cross-Site Request Forgery). GitLab has released patches to fix this issue in the specified versions.
Potential Impact
Exploitation of this vulnerability could lead to unauthorized remote modification or deletion of public projects and user data in affected GitLab instances. This poses a critical risk to data integrity and availability for organizations using vulnerable GitLab versions.
Mitigation Recommendations
A patch is available and has been released by GitLab to remediate this vulnerability. Users should upgrade affected GitLab CE/EE instances to versions 18.11.11 or later for the 18.x branch, 19.0.8 or later for the 19.0 branch, 19.1.6 or later for the 19.1 branch, and 19.2.4 or later for the 19.2 branch. Applying these official fixes will mitigate the risk. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Nationaal Cyber Security Centrum
- Advisory Id
- NCSC-2026-0303
- Cve Count
- 2
- Additional Cves
- ["CVE-2026-19650"]
Threat ID: 6a8460a5c6e8be033245ab55
Added to database: 08/18/2026, 13:39:49 UTC
Last enriched: 09/10/2026, 23:02:46 UTC
Last updated: 10/03/2026, 14:46:06 UTC
Views: 78
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.