{"id":"CVE-2025-6945","aliases":["BIT-gitlab-2025-6945","EUVD-2025-197691","GHSA-r22j-98fp-4fw9","UBUNTU-CVE-2025-6945"],"status":"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.","severity":{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00283,"percentile":0.20985,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77"],"published":"2025-11-15T08:04:29Z","modified":"2026-10-30T10:47:16Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["18.3.6","18.4.4","18.5.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"17.8.0"},{"fixed":"18.3.6"},{"introduced":"18.4.0"},{"fixed":"18.4.4"},{"introduced":"18.5.0"},{"fixed":"18.5.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://about.gitlab.com/releases/2025/11/12/patch-release-gitlab-18-5-2-released/","tags":["Release Notes","Vendor Advisory","advisory","web","report"]},{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/552611","tags":["issue-tracking","permissions-required","Broken Link","web","report"]},{"url":"https://hackerone.com/reports/3173458","tags":["technical-description","exploit","permissions-required","Permissions Required","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6945","tags":["web","advisory"]},{"url":"https://about.gitlab.com/releases/2025/11/12/patch-release-gitlab-18-5-2-released"},{"url":"https://github.com/advisories/GHSA-r22j-98fp-4fw9"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6945.json","tags":["advisory"]},{"url":"git://git@gitlab.com:gitlab-org/gitlab.git","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2025-6945","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-6945","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-6945","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.","status":"published","published":"2025-11-15T08:04:29.739Z","modified":"2025-11-17T20:16:05.892Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:32:40.419293Z"}],"euvd":[{"id":"EUVD-2025-197691","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.","status":"published","published":"2025-11-15T08:04:29Z","modified":"2025-11-17T20:16:05Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T19:49:16.200687Z"}],"ghsa":[{"id":"GHSA-r22j-98fp-4fw9","title":"GitLab has remediated an issue in GitLab EE affecting all versions from 17.8 before 18.3.6, 18.4...","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.","status":"published","published":"2025-11-15T09:30:25Z","modified":"2025-11-15T09:30:31Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:04:49.684595Z"}],"nvd":[{"id":"CVE-2025-6945","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.","status":"published","published":"2025-11-15T08:15:46.28Z","modified":"2026-10-19T13:10:00.11Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:11:44.669367Z"}],"osv":[{"id":"CVE-2025-6945","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.","status":"published","published":"2025-11-15T08:04:29.739Z","modified":"2026-10-30T10:47:16.535974826Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:44:52.859856Z"},{"id":"UBUNTU-CVE-2025-6945","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.","status":"published","published":"2025-11-15T08:15:00Z","modified":"2025-11-19T17:16:17Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T16:55:55.926217Z"},{"id":"BIT-gitlab-2025-6945","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.","status":"published","published":"2025-11-21T09:04:31.573Z","modified":"2026-09-08T08:47:45.580119262Z","updated_at":"2026-11-02T15:28:30.70064Z"}]}}
