Cyber Resilience

CVE-2025-2867

Medium

Published: 27 March 2025

Published
27 March 2025
Modified
13 August 2025
KEV Added
Patch
CVSS Score v3.1 4.4 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS Score 0.0011 29.8th percentile
Risk Priority 9 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-2867 is a medium-severity Code Injection (CWE-94) vulnerability in Gitlab Gitlab. Its CVSS base score is 4.4 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Code Repositories (T1213.003); ranked at the 29.8th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

This vulnerability is AI-related — categorised as Enterprise AI Assistants; in the Privacy and Disclosure risk domain; MITRE ATLAS techniques in scope: Indirect (AML.T0051.001), Publish Poisoned Models (AML.T0058).

EU & UK References

Vulnerability 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…

more

data to unauthorized users.

CWE(s)

AI Security AnalysisAI

AI Category
Enterprise AI Assistants
Risk Domain
Privacy and Disclosure
OWASP Top 10 for LLMs 2025
LLM01:2025 Prompt Injection
Classification Reason
Matched keywords: ai, amazon q

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1213.003 Code Repositories Collection
Adversaries may leverage code repositories to collect valuable information.
Why these techniques?

The vulnerability in GitLab Duo enables manipulation of AI-assisted features via crafted issues to expose sensitive project data from code repositories to unauthorized users, facilitating T1213.003: Code Repositories.

MITRE ATLAS TechniquesAI

MITRE ATLAS techniques

AML.T0051.001: IndirectAML.T0058: Publish Poisoned Models

Affected Assets

gitlab
gitlab
17.10.0 · 17.8.0 — 17.8.6 · 17.8.0 — 17.8.6 · 17.9.0 — 17.9.3

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-94

Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.

addresses: CWE-94

Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.

addresses: CWE-94

Validates inputs used in dynamic code generation to block injected directives.

addresses: CWE-94

Directly prevents execution of attacker-supplied code written into data memory regions.

References