CVE-2026-85706 — GitLab CE/EE (versions 18.7–19.1 before 19.1.8, 19.2 before 19.2.6, and 19.3 before 19.3.2)
What GitLab is: GitLab is a web-based platform that teams use to host, review, and collaborate on software code.
What it is: A path traversal flaw (where an attacker manipulates file path references to reach files they shouldn't be able to access) that lets an unauthenticated user read any file on the GitLab server in a single HTTP request.
Who's at risk: Anyone running a self-hosted GitLab CE or EE instance on an affected version. Cloud-hosted GitLab.com users are already patched.
CVSS: 10.0 (Critical — patch today, ahead of anything else on your list).
Root cause: The server fails to sanitise file path inputs before processing them, allowing a specially crafted request to escape the intended directory and reach arbitrary files — including credentials and configuration secrets.
Attack vector: An attacker sends a POST request to /api/v4/projects/{id}/repository/commits/ with a manipulated file.path parameter. No login required. The server returns the requested file's contents directly.
Detection strategies: Search your logs for POST requests to /api/v4/projects/{id}/repository/commits/ URIs that include file.path parameters. Unexpected hits from external IPs are a strong indicator of exploitation.
Recommended actions:
- Upgrade to GitLab 19.1.8, 19.2.6, or 19.3.2 immediately
- If you cannot patch right now, restrict external access to the GitLab API at your firewall
- Review logs for the pattern above and audit recent access to sensitive configuration files
GitLab CE/EE (versions 18.7–19.1 before 19.1.8, 19.2 before 19.2.6, and 19.3 before 19.3.2)
GitLab is a web-based platform that teams use to host, review, and collaborate on software code.
Sources

