Summary
CVE-2026-85706 is a critical path traversal vulnerability in GitLab Community Edition (CE) and Enterprise Edition (EE) that allows an unauthenticated attacker to read arbitrary files from the underlying GitLab server. The flaw resides in the repository commits API, where improper path confinement and missing authentication enforcement let API requests escape the intended repository scope and reach files on the host filesystem. GitLab rated the issue CVSS 10.0 (Critical) and it has been added to CISA’s Known Exploited Vulnerabilities catalog following reports of active internet-wide probing shortly after patches were released.
Technical details
- Root cause: improper limitation of a pathname to a restricted directory (path traversal, CWE-22) combined with missing authentication enforcement in the repository commits API endpoint.
- Trigger condition: an attacker sends a crafted request (reported to involve the
/api/v4/projects/{id}/repository/commits/endpoint with a manipulated file path parameter) that is not confined to the intended repository directory. - Attack vector: network, no authentication or user interaction required, low attack complexity.
- Impact: unauthenticated disclosure of arbitrary files readable by the GitLab service account on the affected server; no reported impact to integrity or availability from this specific flaw.
- The issue was reported to GitLab via its HackerOne bug bounty program by a researcher using the handle "s3ntago."
- GitLab.com and GitLab Dedicated were already running patched code at the time of disclosure and required no customer action; the risk applies to self-managed instances.
Affected software
- GitLab CE/EE 18.7 through 19.1.7
- GitLab CE/EE 19.2.0 through 19.2.5
- GitLab CE/EE 19.3.0 through 19.3.1
Severity
- CVSS v3.1 Base Score: 10.0 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Mitigation and recommended actions
- Immediate: upgrade self-managed GitLab instances to version 19.1.8, 19.2.6, 19.3.2, or later, as released by GitLab.
- If immediate patching is not possible: restrict network access to the GitLab instance (e.g., limit exposure of the API/web interface to trusted networks or VPN) to reduce the attack surface until the upgrade can be applied; no other functional workaround has been published.
- Review server and application logs for anomalous requests to the repository commits API that reference file path parameters outside expected repository paths, as this endpoint has been reported as the target of post-disclosure scanning activity.
- Confirm GitLab.com or GitLab Dedicated usage is unaffected, as these hosted offerings were already remediated prior to public disclosure.

