{"id":"CVE-2026-1516","state":"PUBLISHED","title":"Improper Control of Generation of Code ('Code Injection') in GitLab","description":"GitLab has remediated an issue in GitLab EE affecting all versions from 18.0.0 before 18.8.9, 18.9 before 18.9.5, and 18.10 before 18.10.3 that in Code Quality reports could have allowed an authenticated user to leak IP addresses of users viewing the report via specially crafted content.","publishedAt":"2026-04-08T22:25:57.848Z","updatedAt":"2026-04-09T15:42:34.893Z","severity":{"score":5.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"18.0.0","status":"affected","lessThan":"18.8.9","versionType":"semver"},{"version":"18.9","status":"affected","lessThan":"18.9.5","versionType":"semver"},{"version":"18.10","status":"affected","lessThan":"18.10.3","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":["https://hackerone.com/reports/3514461","https://gitlab.com/gitlab-org/gitlab/-/work_items/587893","https://about.gitlab.com/releases/2026/04/08/patch-release-gitlab-18-10-3-released/"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/1xxx/CVE-2026-1516.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-1516","state":"PUBLISHED","datePublished":"2026-04-08T22:25:57.848Z","dateUpdated":"2026-04-09T15:42:34.893Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2026-01-28T05:03:57.410Z"},"containers":{"cna":{"title":"Improper Control of Generation of Code ('Code Injection') in GitLab","descriptions":[{"lang":"en","value":"GitLab has remediated an issue in GitLab EE affecting all versions from 18.0.0 before 18.8.9, 18.9 before 18.9.5, and 18.10 before 18.10.3 that in Code Quality reports could have allowed an authenticated user to leak IP addresses of users viewing the report via specially crafted content."}],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"18.0.0","status":"affected","lessThan":"18.8.9","versionType":"semver"},{"version":"18.9","status":"affected","lessThan":"18.9.5","versionType":"semver"},{"version":"18.10","status":"affected","lessThan":"18.10.3","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":[{"url":"https://hackerone.com/reports/3514461","name":"HackerOne Bug Bounty Report #3514461","tags":["technical-description","exploit","permissions-required"]},{"url":"https://gitlab.com/gitlab-org/gitlab/-/work_items/587893"},{"url":"https://about.gitlab.com/releases/2026/04/08/patch-release-gitlab-18-10-3-released/"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.7,"baseSeverity":"MEDIUM"}}],"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-04-08T22:25:57.848Z"},"solutions":[{"lang":"en","value":"Upgrade to versions 18.8.9, 18.9.5, 18.10.3 or above."}],"credits":[{"lang":"en","value":"Thanks [maksyche](https://hackerone.com/maksyche) for reporting this vulnerability through our HackerOne bug bounty program","type":"finder"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-09T15:42:16.466494Z","id":"CVE-2026-1516","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-09T15:42:34.893Z"}}]}}}