CVE-2026-85706: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab
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.
Other sources
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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
GitLab Community Editionto a version that resolves this vulnerability.Fixed in 18.11.12 - Upgrade
Upgrade
GitLab Enterprise Editionto a version that resolves this vulnerability.Fixed in 18.11.12 - Upgrade
Upgrade
GitLab Community Editionto a version that resolves this vulnerability.Fixed in 19.0.9 - Upgrade
Upgrade
GitLab Enterprise Editionto a version that resolves this vulnerability.Fixed in 19.0.9 - Upgrade
Upgrade
GitLab Community Editionto a version that resolves this vulnerability.Fixed in 19.1.8 - Upgrade
Upgrade
GitLab Enterprise Editionto a version that resolves this vulnerability.Fixed in 19.1.8 - Upgrade
Upgrade
GitLab Community Editionto a version that resolves this vulnerability.Fixed in 19.2.6 - Upgrade
Upgrade
GitLab Enterprise Editionto a version that resolves this vulnerability.Fixed in 19.2.6 - Upgrade
Upgrade
GitLab Community Editionto a version that resolves this vulnerability.Fixed in 19.3.2 - Upgrade
Upgrade
GitLab Enterprise Editionto a version that resolves this vulnerability.Fixed in 19.3.2
Event History
Frequently Asked Questions
Is exploitation in the wild known?
Yes. This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog as of 2026-09-11.
Does an attacker need an account to exploit this issue?
No. The issue is described as exploitable by an unauthenticated user.
Is vendor patch information available?
Yes. A GitLab patch-release reference is provided for GitLab 19.3.2, but the supplied data does not identify the full affected or fixed version ranges.