GitLab
Improper Control of Generation of Code ('Code Injection') in GitLab
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 18.2, < 18.11.11
- >= 19.0, < 19.0.8
- >= 19.1, < 19.1.6
- >= 19.2, < 19.2.4
Fixed in 18.11.11, 19.0.8, 19.1.6, 19.2.4
Mitigation
Upgrade to versions 18.11.11, 19.0.8, 19.1.6, 19.2.4 or above.
Timeline
Days relative to CVE publicationFirst public PoC 11 h after publication; not in CISA KEV. First PoC: davkharrr/CVE-2026-19478-PoC (created 18 Aug 2026, found by us: backfilled).
PoC repositories
Found on GitHub.5 PoCs · 1 suspicious or fake
PoCs 5
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| davkharrr/CVE-2026-19478-PoC | 18 Aug 2026 +11 h | 11 | PoC |
| dinosn/gitlab-cve-2026-19478-lab | 18 Aug 2026 +15 h | 11 | PoC |
| renzi25031469/CVE-2026-19478 | 19 Aug 2026 +1.4 d | 1 | Scanner |
| n0xdaemon/cve-2026-19478 | 20 Aug 2026 +3 d | 0 | PoC |
| EQSTLab/CVE-2026-19478 | 27 Aug 2026 +9.4 d | 5 | PoC |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| HORKimhab/CVE-2026-19650-CVE-2026-19478 | 17 Aug 2026 +3 h | 0 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | HackerOne Bug Bounty Report #3926431 | unknown | 14 Nov 2026 |
| nuclei template | nuclei template: GitLab CE/EE - GraphQL @gl_introduced Arbitrary Method Invocation | 18 Aug 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 5 PoC reposPOST /api/graphql
- Key headers
Accept: application/json- Body markers
"query"inapplication/json- Ports
- 3000, 8222, 8224
- Seen in
- 3 repos: EQSTLab/CVE-2026-19478, dinosn/gitlab-cve-2026-19478-lab, renzi25031469/CVE-2026-19478
- Evidence
- EQSTLab/CVE-2026-19478/seed.sh:8 dinosn/gitlab-cve-2026-19478-lab/poc_cve_2026_19650.py:32 renzi25031469/CVE-2026-19478/CVE-2026-19478.yaml:56
GET /api/v4/projects
- Query
visibility=publicper_page=1simple=trueorder_by=idsort=asc- Seen in
- 1 repo: renzi25031469/CVE-2026-19478
- Evidence
- renzi25031469/CVE-2026-19478/CVE-2026-19478.yaml:43
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/graphql(?:[?#].*)?$
(?i)^/api/v4/projects\?(?:.*&)?visibility=public.*per_page=1.*simple=true.*order_by=id.*sort=asc
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [3000,8222,8224] (msg:"GG PoC-Monitor CVE-2026-19478 GitLab GitLab exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/graphql"; http.header; content:"Accept: application/json"; nocase; http.request_body; content:"|22|query|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-19478; classtype:web-application-attack; sid:9434495; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-19478 GitLab GitLab exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/v4/projects"; http.uri; content:"visibility=public"; http.uri; content:"per_page=1"; http.uri; content:"simple=true"; http.uri; content:"order_by=id"; http.uri; content:"sort=asc"; reference:url,poc.griffinguard.io/cve/CVE-2026-19478; classtype:web-application-attack; sid:9081945; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: GitLab GitLab exploit attempt (CVE-2026-19478)
id: gg-pocmon-cve-2026-19478-9434495
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-19478. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-19478
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/graphql'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.19478
title: GitLab GitLab exploit attempt (CVE-2026-19478)
id: gg-pocmon-cve-2026-19478-9081945
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-19478. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-19478
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/v4/projects'
cs-uri-query|contains|all:
- 'visibility=public'
- 'per_page=1'
- 'simple=true'
- 'order_by=id'
- 'sort=asc'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.19478