Critical Path Traversal in GitLab Repository Commits API (CVE‑2026‑85706) Enables Full File Read
What It Is – GitLab’s repository commits API contains a path‑traversal flaw (CVE‑2026‑85706) that allows an unauthenticated attacker to read arbitrary files on the server with a single HTTP request.
Exploitability – The vulnerability carries a CVSS 10.0 score and was observed being probed in the wild within 24 hours of public disclosure; CISA has added it to the Known Exploited Vulnerabilities catalog.
Affected Products – All GitLab Community and Enterprise editions from 18.7 < 19.1.8, 19.2 < 19.2.6, and 19.3 < 19.3.2.
Why It Matters for Trust & Control Assurance
- Demonstrates the need for continuous monitoring of API traffic and immutable log collection to prove that no unauthorized file reads have occurred.
- Highlights the importance of rapid patch management as a control evidence point for audit readiness.
- Forces organizations to rotate exposed credentials (SSH keys, CI/CD tokens) and retain evidence of rotation for compliance reviews.
Recommended Actions
- Apply the GitLab 19.1.8/19.2.6/19.3.2 security patches immediately, or block public access to self‑hosted instances.
- Search web server and GitLab logs for POST requests to
/api/v4/projects/{id}/repository/commits/containing afile.pathparameter; flag any matches for investigation. - Rotate any credentials that may have been exposed (SSH keys, deploy tokens, CI/CD variables, cloud keys) and retain rotation logs as audit evidence.
- Implement a continuous API‑traffic monitoring rule that alerts on anomalous
file.pathparameters.