CVE-2024-4099: Improper Encoding or Escaping of Output in GitLab

Published Sep 25, 2024
·
Updated

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 that could have allowed an attacker to hide prompt injection.

Other sources

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 that could’ve allowed an attacker to hide prompt injection. This is a low severity issue (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N, 3.1). It is now mitigated in the latest release and is assigned CVE-2024-4099.

GitLab

Affected Software

4 affected componentsFixes available
GitLab GitLab>=16.0.0<17.2.8
GitLab GitLab>=17.3.0<17.3.4
GitLab GitLab=17.4.0
GitLab GitLab EE>=16.0<17.2.8, >=17.3<17.3.4, >=17.4<17.4.1
17.2.817.3.417.4.1

Remediation

Information

Upgrade to versions 17.2.8, 17.3.4, 17.4.1 or above.

Event History

Sep 26, 2024
CVE Published
via MITRE·11:02 PM
Data Sourced
via MITRE·11:02 PM
RemedyDescriptionSeverityWeakness
Apr 22, 2026
Data Sourced
via GitLab·08:55 AM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-4099?

CVE-2024-4099 has been assessed as a medium severity vulnerability.

2

How do I fix CVE-2024-4099?

To mitigate CVE-2024-4099, upgrade your GitLab EE instance to version 17.2.8 or later, 17.3.4 or later, or 17.4.1 or later.

3

Which versions of GitLab are affected by CVE-2024-4099?

CVE-2024-4099 affects GitLab EE versions from 16.0 up to but not including 17.2.8, from 17.3 up to but not including 17.3.4, and version 17.4.0.

4

What type of vulnerability is CVE-2024-4099?

CVE-2024-4099 is a prompt injection vulnerability that allows attackers to exploit unsanitized content in GitLab's AI feature.

5

Is there a workaround for CVE-2024-4099?

There are currently no publicly documented workarounds for CVE-2024-4099; updating to a fixed version is recommended.

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