Path traversal in GitLab Enterprise Edition and Gitlab Community Edition - CVE-2026-85706

 

Path traversal in GitLab Enterprise Edition and Gitlab Community Edition - CVE-2026-85706

Published: September 11, 2026 / Updated: September 11, 2026


Vulnerability identifier: #VU148974
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-85706
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in repository commits API. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.


Affected software

GitLab Enterprise Edition
Gitlab Community Edition

How to mitigate CVE-2026-85706

Install updates from vendor's website.

GitLab Enterprise Edition - addressed in versions 19.1.8, 19.2.6, 19.3.2
Gitlab Community Edition - addressed in versions 19.1.8, 19.2.6, 19.3.2

External References

Related Security Bulletins