CVE-2025-2867

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.

Remediation

Solution:

  • Upgrade to versions 17.8.6, 17.9.3, 17.10.1 or above.

Category

4.4
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.02%
Affected: GitLab GitLab
Published at:
Updated at:

References

Link Tags
https://gitlab.com/gitlab-org/gitlab/-/issues/512509 issue tracking permissions required

Frequently Asked Questions

What is the severity of CVE-2025-2867?
CVE-2025-2867 has been scored as a medium severity vulnerability.
How to fix CVE-2025-2867?
To fix CVE-2025-2867: Upgrade to versions 17.8.6, 17.9.3, 17.10.1 or above.
Is CVE-2025-2867 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-2867 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-2867?
CVE-2025-2867 affects GitLab GitLab.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.