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