{"id":"CVE-2025-6945","state":"PUBLISHED","title":"Improper Neutralization of Special Elements used in a Command ('Command Injection') in GitLab","description":"GitLab has remediated an issue in GitLab EE affecting all versions from 17.8 before 18.3.6, 18.4 before 18.4.4, and 18.5 before 18.5.2 that could have allowed an authenticated attacker to leak sensitive information from confidential issues by injecting hidden prompts into merge request comments.","publishedAt":"2025-11-15T08:04:29.739Z","updatedAt":"2025-11-17T20:16:05.892Z","severity":{"score":3.5,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"17.8","status":"affected","lessThan":"18.3.6","versionType":"semver"},{"version":"18.4","status":"affected","lessThan":"18.4.4","versionType":"semver"},{"version":"18.5","status":"affected","lessThan":"18.5.2","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":["https://about.gitlab.com/releases/2025/11/12/patch-release-gitlab-18-5-2-released/","https://gitlab.com/gitlab-org/gitlab/-/issues/552611","https://hackerone.com/reports/3173458"],"weaknesses":["CWE-77"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/6xxx/CVE-2025-6945.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-6945","state":"PUBLISHED","datePublished":"2025-11-15T08:04:29.739Z","dateUpdated":"2025-11-17T20:16:05.892Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2025-07-01T02:02:38.576Z"},"containers":{"cna":{"title":"Improper Neutralization of Special Elements used in a Command ('Command Injection') in GitLab","descriptions":[{"lang":"en","value":"GitLab has remediated an issue in GitLab EE affecting all versions from 17.8 before 18.3.6, 18.4 before 18.4.4, and 18.5 before 18.5.2 that could have allowed an authenticated attacker to leak sensitive information from confidential issues by injecting hidden prompts into merge request comments."}],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"17.8","status":"affected","lessThan":"18.3.6","versionType":"semver"},{"version":"18.4","status":"affected","lessThan":"18.4.4","versionType":"semver"},{"version":"18.5","status":"affected","lessThan":"18.5.2","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":[{"url":"https://about.gitlab.com/releases/2025/11/12/patch-release-gitlab-18-5-2-released/"},{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/552611","name":"GitLab Issue #552611","tags":["issue-tracking","permissions-required"]},{"url":"https://hackerone.com/reports/3173458","name":"HackerOne Bug Bounty Report #3173458","tags":["technical-description","exploit","permissions-required"]}],"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:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":3.5,"baseSeverity":"LOW"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","lang":"en","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2025-11-15T08:04:29.739Z"},"solutions":[{"lang":"en","value":"Upgrade to versions 18.3.6, 18.4.4, 18.5.2 or above."}],"credits":[{"lang":"en","value":"Thanks [rogerace](https://hackerone.com/rogerace) for reporting this vulnerability through our HackerOne bug bounty program","type":"finder"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-11-17T20:15:58.405498Z","id":"CVE-2025-6945","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-11-17T20:16:05.892Z"}}]}}}