Code Injection in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2026-1516
Published: April 9, 2026
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 Enterprise Edition
How to mitigate CVE-2026-1516
GitLab Enterprise Edition - addressed in versions 18.8.9, 18.9.5, 18.10.3