GitLab · Community Edition and Enterprise Edition
CVE-2026-85706
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab
What it is
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.7 before 18.11.12, 19.0 before 19.0.9, 19.1 before 19.1.8, 19.2 before 19.2.6, and 19.3 before 19.3.2 that, under certain conditions, an unauthenticated user could have read arbitrary files from the GitLab server due to improper path confinement and missing authentication enforcement in the repository commits API.
CISA: GitLab Community Edition and Enterprise Edition contains a path traversal vulnerability that allows an unauthenticated user to read arbitrary files due to an improper path confinement and missing authentication enforcement in the repository commits API.
What to do
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Deadline for US federal agencies: September 14, 2026
More exploited flaws from GitLab
| Added | Vulnerability | Product | Severity | Attack chance |
|---|---|---|---|---|
| Feb 18, 2026 | Server-Side Request Forgery (SSRF) | GitLab | Medium 6.8 | 53% |
| Feb 3, 2026 | Server-Side Request Forgery (SSRF) | Community and Enterprise Editions | Medium 6.8 | 36% |
| May 1, 2024 | Community and Enterprise Editions Improper Access Control | GitLab CE/EE | Critical 10.0 | 94% |
| Nov 3, 2021 | Remote Code Execution | Community and Enterprise Editions | Critical 10.0 | 99.7% |
Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.