{"id":"CVE-2025-2867","aliases":["BIT-gitlab-2025-2867","EUVD-2025-8416","GHSA-cxqh-7ch8-jx2g"],"status":"published","title":"Improper Control of Generation of Code ('Code Injection') in GitLab","description":"An issue has been discovered in the GitLab Duo with Amazon Q affecting all versions from 17.8 before 17.8.6, 17.9 before 17.9.3, and 17.10 before 17.10.1. A specifically crafted issue could manipulate AI-assisted development features to potentially expose sensitive project data to unauthorized users.","severity":{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00218,"percentile":0.12362,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94"],"published":"2025-03-27T14:02:18Z","modified":"2026-10-30T10:47:13Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["17.8.6","17.9.3","18.2.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"17.8.0"},{"fixed":"17.8.6"},{"introduced":"17.9.0"},{"fixed":"17.9.3"},{"introduced":"17.10.0"},{"fixed":"18.2.2"}]}]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/512509","tags":["issue-tracking","permissions-required","Broken Link","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2867","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-cxqh-7ch8-jx2g"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2867.json","tags":["advisory"]},{"url":"git://git@gitlab.com:gitlab-org/gitlab.git","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-2867","title":"Improper Control of Generation of Code ('Code Injection') in GitLab","description":"An issue has been discovered in the GitLab Duo with Amazon Q affecting all versions from 17.8 before 17.8.6, 17.9 before 17.9.3, and 17.10 before 17.10.1. A specifically crafted issue could manipulate AI-assisted development features to potentially expose sensitive project data to unauthorized users.","status":"published","published":"2025-03-27T14:02:18.359Z","modified":"2025-03-27T14:18:32.168Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:32:38.70481Z"}],"euvd":[{"id":"EUVD-2025-8416","description":"An issue has been discovered in the GitLab Duo with Amazon Q affecting all versions from 17.8 before 17.8.6, 17.9 before 17.9.3, and 17.10 before 17.10.1. A specifically crafted issue could manipulate AI-assisted development features to potentially expose sensitive project data to unauthorized users.","status":"published","published":"2025-03-27T14:02:18Z","modified":"2025-03-27T14:18:32Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:49.948923Z"}],"ghsa":[{"id":"GHSA-cxqh-7ch8-jx2g","title":"An issue has been discovered in the GitLab Duo with Amazon Q affecting all versions from 17.8...","description":"An issue has been discovered in the GitLab Duo with Amazon Q affecting all versions from 17.8 before 17.8.6, 17.9 before 17.9.3, and 17.10 before 17.10.1. A specifically crafted issue could manipulate AI-assisted development features to potentially expose sensitive project data to unauthorized users.","status":"published","published":"2025-03-27T15:31:10Z","modified":"2025-03-27T15:31:20Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:00:29.248113Z"}],"nvd":[{"id":"CVE-2025-2867","description":"An issue has been discovered in the GitLab Duo with Amazon Q affecting all versions from 17.8 before 17.8.6, 17.9 before 17.9.3, and 17.10 before 17.10.1. A specifically crafted issue could manipulate AI-assisted development features to potentially expose sensitive project data to unauthorized users.","status":"published","published":"2025-03-27T14:15:55.827Z","modified":"2026-06-17T09:07:45.85Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:10:56.494516Z"}],"osv":[{"id":"CVE-2025-2867","title":"Improper Control of Generation of Code ('Code Injection') in GitLab","description":"An issue has been discovered in the GitLab Duo with Amazon Q affecting all versions from 17.8 before 17.8.6, 17.9 before 17.9.3, and 17.10 before 17.10.1. A specifically crafted issue could manipulate AI-assisted development features to potentially expose sensitive project data to unauthorized users.","status":"published","published":"2025-03-27T14:02:18.359Z","modified":"2026-10-30T10:47:13.368904201Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:44:47.708311Z"},{"id":"BIT-gitlab-2025-2867","title":"Improper Control of Generation of Code ('Code Injection') in GitLab","description":"An issue has been discovered in the GitLab Duo with Amazon Q affecting all versions from 17.8 before 17.8.6, 17.9 before 17.9.3, and 17.10 before 17.10.1. A specifically crafted issue could manipulate AI-assisted development features to potentially expose sensitive project data to unauthorized users.","status":"published","published":"2025-08-13T06:06:56.962Z","modified":"2026-09-10T16:01:38.691000667Z","updated_at":"2026-11-02T15:28:30.70064Z"}]}}
