{"id":"CVE-2025-2867","summary":"Improper Control of Generation of Code ('Code Injection') in GitLab","details":"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.","aliases":["BIT-gitlab-2025-2867"],"modified":"2026-09-11T03:48:18.938715182Z","published":"2025-03-27T14:02:18.359Z","database_specific":{"cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2867.json","cna_assigner":"GitLab"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2867.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2867"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/512509"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"f03594b9e09b648c839e9c008286a24c93c82373"},{"fixed":"27e19f1747ade9da7af660001a20e2dd47219a69"},{"introduced":"f5041566b342c2f30a8d63b8117272c454e18410"},{"fixed":"3f8a07baae6b8ce6bcc5b35075d00164df3b3b60"},{"introduced":"ef8041bebeac4b902db1666c582a3de1d495ae39"},{"fixed":"6313c41c8800bdea9c525d84ebfc419cd7f29027"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"17.8"},{"fixed":"17.8.6"},{"introduced":"17.9"},{"fixed":"17.9.3"},{"introduced":"17.10"},{"fixed":"17.10.1"}]}}],"versions":["v17.10.0-ee","v17.9.0-ee","v17.8.0-ee","v17.8.3-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-2867.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}