CVE-2026-19478 Improper Control of Generation of Code ('Code Injection') in GitLab

Critical 9.4 Published Updated

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.

PackageAffectedFixed in
gitlab BitnamiFrom 18.2.018.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.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2026-19478, GHSA-6whr-xjjm-6pf8, MINI-97xf-5454-2v2m, MINI-pfr7-45vj-6vx3.

Is CVE-2026-19478 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free