CVE-2025-2867: Improper Control of Generation of Code ('Code Injection') in GitLab

Published Mar 27, 2025
·
Updated

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 Software

7 affected components
GitLab Duo>17.8.6, <17.8, >17.9.3, <17.9, >17.10.1, <17.10
GitLab GitLab>=17.8.0<17.8.6
GitLab GitLab>=17.8.0<17.8.6
GitLab GitLab>=17.9.0<17.9.3
GitLab GitLab>=17.9.0<17.9.3
GitLab GitLab=17.10.0
GitLab GitLab=17.10.0

Remediation

Information

Upgrade to versions 17.8.6, 17.9.3, 17.10.1 or above.

Event History

Mar 27, 2025
CVE Published
via MITRE·02:02 PM
Data Sourced
via MITRE·02:02 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-2867?

CVE-2025-2867 has not been assigned a CVSS score yet, but it poses a risk of exposing sensitive data.

2

How do I fix CVE-2025-2867?

To fix CVE-2025-2867, upgrade GitLab Duo to versions 17.8.6, 17.9.3, or 17.10.1 or later.

3

What versions of GitLab Duo are affected by CVE-2025-2867?

CVE-2025-2867 affects all versions of GitLab Duo prior to 17.8.6, 17.9.3, and 17.10.1.

4

What kind of data exposure risk does CVE-2025-2867 present?

CVE-2025-2867 could potentially expose sensitive project data through manipulated AI-assisted development features.

5

Is CVE-2025-2867 specific to any deployment configurations on GitLab Duo?

CVE-2025-2867 is not limited to specific configurations; it affects all installations of GitLab Duo in the specified versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203