{"id":"CVE-2026-19478","summary":"Improper Control of Generation of Code ('Code Injection') in GitLab","details":"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.","aliases":["BIT-gitlab-2026-19478"],"modified":"2026-10-30T10:30:22.700903174Z","published":"2026-08-17T20:04:46.400Z","database_specific":{"cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/19xxx/CVE-2026-19478.json","unresolved_ranges":[{"extracted_events":[{"range":[{"introduced":"18.2"},{"fixed":"18.11.11"},{"introduced":"19.0"},{"fixed":"19.0.8"},{"introduced":"19.1"},{"fixed":"19.1.6"},{"introduced":"19.2"},{"fixed":"19.2.4"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]},{"extracted_events":[{"range":[{"introduced":"18.2"},{"fixed":"18.11.11"},{"introduced":"19.0"},{"fixed":"19.0.8"},{"introduced":"19.1"},{"fixed":"19.1.6"},{"introduced":"19.2"},{"fixed":"19.2.4"}],"source":"DESCRIPTION"}]}],"cna_assigner":"GitLab"},"references":[{"type":"WEB","url":"https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-2-4-released/"},{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/work_items/611377"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/19xxx/CVE-2026-19478.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-19478"},{"type":"REPORT","url":"https://hackerone.com/reports/3926431"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"64403a0daee4413eb45b939590f37c351b8e72bf"},{"fixed":"16bd35699eb29fa0c5595aa8ae57534f39b95145"},{"introduced":"f07e3c5b3c8128be5db112e5b2b618fe31ea1b35"},{"fixed":"ae687184779ad629f8aeb78ca2c9ff808b02f86c"},{"introduced":"67581074a0aab1f53cdafe7eead5f5d07f3afec8"},{"fixed":"9e3a541d460b54ffe70e1f5c67951ece8b53d5ee"},{"introduced":"68485a1eb627c9a992f266263157327649822db3"},{"fixed":"85f4a2d9565826030310d5fb0ca6e50cc5232a44"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","range":[{"introduced":"18.2.0"},{"fixed":"18.11.11"}]},{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"18.2.0"},{"fixed":"18.11.11"}],"source":"CPE_RANGE"},{"range":[{"introduced":"19.0.0"},{"fixed":"19.0.8"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"19.0.0"},{"fixed":"19.0.8"}]},{"range":[{"introduced":"19.1.0"},{"fixed":"19.1.6"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*"},{"range":[{"introduced":"19.1.0"},{"fixed":"19.1.6"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","range":[{"introduced":"19.2.0"},{"fixed":"19.2.4"}]},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"19.2.0"},{"fixed":"19.2.4"}]}]}}],"versions":["v19.1.0-ee","v19.2.0-ee","v19.0.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-19478.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H"}]}