Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-85706— Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab

Quick assessment

Affected
GitLab GitLab
Exploitation
Confirmed exploitation in the wild; remediate immediately
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GitLab是美国GitLab公司开源的一款源代码管理平台。 GitLab CE/EE 18.7至19.1.8之前版本、19.2至19.2.6之前版本和19.3至19.3.2之前版本存在路径遍历漏洞,该漏洞源于仓储提交API中路径限制不当且缺少身份验证,可能导致未经身份验证的用户读取GitLab服务器上的任意文件。

CVSS 10.0 · Critical KEV EPSS 92.96% · P100

Possible ATT&CK Techniques 1 AI

T1079

Affected Version Matrix 5

VendorProduct Version RangeStatus
GitLab GitLab 18.7< 18.11.12 affected
19.0< 19.0.9 affected
19.1< 19.1.8 affected
19.2< 19.2.6 affected
19.3< 19.3.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-85706

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
GitLab 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GitLab是美国GitLab公司开源的一款源代码管理平台。 GitLab CE/EE 18.7至19.1.8之前版本、19.2至19.2.6之前版本和19.3至19.3.2之前版本存在路径遍历漏洞,该漏洞源于仓储提交API中路径限制不当且缺少身份验证,可能导致未经身份验证的用户读取GitLab服务器上的任意文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
GitLab GitLab 18.7 ~ 18.11.12 cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-85706

# POC Description Source Link Shenlong Link
1 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. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-85706.yaml POC Details
2 https://github.com/vulhub/vulhub/blob/master/gitlab/CVE-2026-85706/README.md POC Details
AI-Generated POC Premium
default-local-qwen3.6 · 9550 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-85706

请登录查看更多情报信息。

Vendor Pages for CVE-2026-85706 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-85706

No comments yet


Leave a comment