CVE-2025-2867

Improper Control of Generation of Code ('Code Injection') in GitLab

MEDIUM
6.5
CVSS Score
Published: March 27, 2025 at 02:02 PM UTC
Updated: June 17, 2026 at 09:07 AM UTC
1 product affected across 1 vendorGitLab

Using GitLab by GitLab?

Get instant alerts when new vulnerabilities affect GitLab - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

17.10 ≤ v < 17.10.117.8 ≤ v < 17.8.617.8.0 ≤ v < 17.8.617.9 ≤ v < 17.9.317.9.0 ≤ v < 17.9.317.1017.10.017.817.9
Affected range stops below 17.10.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.8.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.9.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (1)

Issue TrackingPermissions RequiredBroken Link
https://gitlab.com/gitlab-org/gitlab/-/issues/512509

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-94NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card