CVE-2026-19478 Improper Control of Generation of Code ('Code Injection') in GitLab
Unauthenticated attackers can remotely modify or delete public projects and user data via a GraphQL directive in GitLab.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-19478?
CVE-2026-19478 is a critical code injection vulnerability in Gitlab Gitlab, published on 17 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.2 before 18.11.11, 19.0 before 19.0.8, 19.1 before 19.1.6, and 19.2 before 19.2.4 that under certain conditions could allow an unauthenticated user to remotely modify or delete public projects and user data via a GraphQL directive.
Weakness: CWE-94
Which versions are affected by CVE-2026-19478?
1 open source package ship an affected version, including gitlab. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitlab Bitnami | From 18.2.0 | 18.11.11, 19.0.8, 19.1.6, 19.2.4 |
Products include Gitlab Gitlab.
How do I fix CVE-2026-19478?
Upgrade gitlab to a fixed version for your release line: 18.11.11, 19.0.8, 19.1.6 or 19.2.4.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-19478 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-19478 exists.
Public exploit code: 1 Nuclei template and 5 proofs of concept on GitHub.
Other vulnerabilities in Gitlab Gitlab
- CVE-2026-97229 GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound
- CVE-2026-85706 GitLab Community Edition and Enterprise Edition Path Traversal
- CVE-2023-7028 GitLab Community and Enterprise Editions Improper Access Control
- CVE-2021-22205 GitLab Community and Enterprise Editions Remote Code Execution
- CVE-2021-39935 GitLab Community and Enterprise Editions Server-Side Request Forgery (SSRF)
Sources
Also known as BIT-gitlab-2026-19478, GHSA-6whr-xjjm-6pf8, MINI-97xf-5454-2v2m, MINI-pfr7-45vj-6vx3.