CVE-2025-2867
published medium CVSS 3.1 · 4.4Improper Control of Generation of Code ('Code Injection') in GitLab
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitLab | — | GitLab17.8 to < 17.8.6 · 17.9 to < 17.9.3 · 17.10 to < 17.10.1 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- GitLab · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitLab | GitLab | 17.8 to < 17.8.6 (affected · semver)17.9 to < 17.9.3 (affected · semver)17.10 to < 17.10.1 (affected · semver)Default: unaffected | GitLab · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
1- GitLab Issue #512509 https://gitlab.com/gitlab-org/gitlab/-/issues/512509
Provider assertions
2GitLab · cna
Improper Control of Generation of Code ('Code Injection') in GitLab
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0ac91812c67a554533398141245f99ffccc5b01855016bdd27004a54dd5af950
- Ingested
- 23 Sep 2026, 08:43:47 UTC
- Source record
- Official CVE record