CVE-2026-85706
CVE-2026-85706
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab
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.
CVSS 3.1 · CNA
chance of exploitation in the next 30 days (EPSS; in the top 1% of all CVEs)
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.
Scores
Affected products
- GitLab GitLab: 18.7 to < 18.11.12; 19.0 to < 19.0.9; 19.1 to < 19.1.8; 19.2 to < 19.2.6; 19.3 to < 19.3.2
Weakness: CWE-22
Also known as: BIT-gitlab-2026-85706
2 references (advisories, patches, write-ups)
- https://gitlab.com/gitlab-org/gitlab/-/work_items/627748
- https://hackerone.com/reports/3909881 · technical-description, exploit, permissions-required
Sources: CVE.org, OSV.dev, FIRST EPSS. Missing ones did not answer or have no record yet.