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

 

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

Published: April 9, 2026


Vulnerability identifier: #VU125556
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2026-1516
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GitLab, Inc
Affected software:
GitLab Enterprise Edition
Gitlab Community Edition

Detailed vulnerability description

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.


How to mitigate CVE-2026-1516

Install updates from vendor's website.

Sources