Double free in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2026-89078

 

Double free in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2026-89078

Published: September 23, 2026


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

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code on the GitLab server.

The vulnerability exists due to a double free in the regular expression parser when parsing a specially crafted regular expression in a CI/CD configuration. A remote user can submit a specially crafted regular expression to execute arbitrary code on the GitLab server.


Affected software

Gitlab Community Edition
GitLab Enterprise Edition

How to mitigate CVE-2026-89078

Install security update from vendor's website.

Gitlab Community Edition - addressed in versions 19.2.7, 19.3.3, 19.4.1
GitLab Enterprise Edition - addressed in versions 19.2.7, 19.3.3, 19.4.1

External References

Related Security Bulletins