Code Injection in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2026-1516

 

Code Injection in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2026-1516

Published: April 9, 2026


Vulnerability identifier: #VU125556
CSH Severity: Medium
CVSS v4: 8.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-1516
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in Code Quality reports. A remote user can leak IP addresses of users viewing the report and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Gitlab Community Edition
GitLab Enterprise Edition

How to mitigate CVE-2026-1516

Install updates from vendor's website.

Gitlab Community Edition - addressed in versions 18.8.9, 18.9.5, 18.10.3
GitLab Enterprise Edition - addressed in versions 18.8.9, 18.9.5, 18.10.3

External References

Related Security Bulletins