Security Resilience

CVE-2024-4099

Gitlab 16.0.0 – 17.2.8

Published
26 September 2024
Modified
04 October 2024
CVSS Score v3.1 3.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
EPSS Score 0.0029 22th percentile
Risk Priority 28 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-4099 is a low-severity Improper Encoding or Escaping of Output (CWE-116) vulnerability in Gitlab. Its CVSS base score is 3.1 (Low).

Operationally, ranked at the 22th 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 LLM/Generative AI Risks risk domain.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

An issue has been discovered in GitLab EE affecting all versions starting from 16.0 prior to 17.2.8, from 17.3 prior to 17.3.4, and from 17.4 prior to 17.4.1. An AI feature was found to read unsanitized content in a way…

more

that could have allowed an attacker to hide prompt injection.

CWE(s)

AI Security AnalysisAI

AI Category
Enterprise AI Assistants
Risk Domain
LLM/Generative AI Risks
OWASP Top 10 for LLMs 2025
None mapped
AI-specific weaknesses CR
  • CWE-1427 — Unsanitized input to AI feature enables hidden prompt injection (CWE-1427).
Mapped by Security Resilience · not in NVD. Poisoning and extraction cases are routed to MITRE ATLAS instead of a synthetic CWE.
Classification Reason
The vulnerability affects an AI feature in GitLab EE, which includes enterprise AI assistants like GitLab Duo for code assistance, making it fit the Enterprise AI Assistants category.

Related Threats

CVEs Like This One

CVE-2025-12734Same product: Gitlab Gitlab
CVE-2025-12697Same product: Gitlab Gitlab
CVE-2025-8405Same product: Gitlab Gitlab
CVE-2024-6329Same product: Gitlab Gitlab
CVE-2026-4868Same product: Gitlab Gitlab
CVE-2024-3303Same product: Gitlab Gitlab
CVE-2025-13772Same product: Gitlab Gitlab
CVE-2026-1724Same product: Gitlab Gitlab
CVE-2025-2867Same product: Gitlab Gitlab
CVE-2026-92470Same product: Gitlab Gitlab

Affected Assets

gitlab
gitlab
17.4.0 · 16.0.0 — 17.2.8 · 17.3.0 — 17.3.4

Mitigating Controls

Likely Mitigating Controls

Our mappings. 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-116

Validating that output matches expected content directly mitigates failures to properly encode or escape data for its destination context.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect missing or incorrect encoding but does not itself implement the control.

prevents

Secure coding standards explicitly require correct output encoding and escaping to preserve message structure.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-116, a class-level weakness, and none of its children carries one either.

References