{"id":"CVE-2026-19478","state":"PUBLISHED","title":"Improper Control of Generation of Code ('Code Injection') in GitLab","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.","publishedAt":"2026-08-17T20:04:46.400Z","updatedAt":"2026-08-17T20:44:03.074Z","severity":{"score":9.4,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"18.2","status":"affected","lessThan":"18.11.11","versionType":"semver"},{"version":"19.0","status":"affected","lessThan":"19.0.8","versionType":"semver"},{"version":"19.1","status":"affected","lessThan":"19.1.6","versionType":"semver"},{"version":"19.2","status":"affected","lessThan":"19.2.4","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"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/"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/19xxx/CVE-2026-19478.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-19478","state":"PUBLISHED","datePublished":"2026-08-17T20:04:46.400Z","dateUpdated":"2026-08-17T20:44:03.074Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2026-08-10T15:04:35.145Z"},"containers":{"cna":{"title":"Improper Control of Generation of Code ('Code Injection') in GitLab","descriptions":[{"lang":"en","value":"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":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"18.2","status":"affected","lessThan":"18.11.11","versionType":"semver"},{"version":"19.0","status":"affected","lessThan":"19.0.8","versionType":"semver"},{"version":"19.1","status":"affected","lessThan":"19.1.6","versionType":"semver"},{"version":"19.2","status":"affected","lessThan":"19.2.4","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/work_items/611377"},{"url":"https://hackerone.com/reports/3926431","name":"HackerOne Bug Bounty Report #3926431","tags":["technical-description","exploit","permissions-required"]},{"url":"https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-2-4-released/"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.4,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2026-08-17T20:04:46.400Z"},"solutions":[{"lang":"en","value":"Upgrade to versions 18.11.11, 19.0.8, 19.1.6, 19.2.4 or above."}],"credits":[{"lang":"en","value":"Thanks [hiimguardian](https://hackerone.com/hiimguardian) for reporting this vulnerability through our HackerOne bug bounty program","type":"finder"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-17T20:43:52.387073Z","id":"CVE-2026-19478","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-17T20:44:03.074Z"}}]}}}