CVE-2026-34785 — Vulnerability in rack — CVE Details
Rack::Static prefix matching can expose unintended files under the static root
Summary
Advisory Timeline
- First published April 2, 2026 (193 days ago).
- Last revised September 10, 2026 — 160 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install rack -v 2.2.23
gem install rack -v 3.2.6
gem install rack -v 3.1.21
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: rubygems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-187
- CWE-200Information ExposureMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
Frequently Asked Questions
- What is CVE-2026-34785?
- Rack::Static prefix matching can expose unintended files under the static root This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-34785?
- CVE-2026-34785 affects rack. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-34785 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2025-46727HIGH
Rack has an Unbounded-Parameter DoS in Rack::QueryParser
- CVE-2018-16470HIGH
Rack vulnerable to Denial of Service
- CVE-2022-30122HIGH
Denial of Service Vulnerability in Rack Multipart Parsing
- CVE-2020-8184HIGH
Rack allows Percent-encoded cookies to overwrite existing prefixed cookie names
- CVE-2026-22860HIGH
Rack has a Directory Traversal via Rack:Directory
- CVE-2025-61770HIGH
Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion)
- CVE-2026-34835MEDIUM
Rack::Request accepts invalid Host characters, enabling host allowlist bypass
- CVE-2019-16782MEDIUM
Possible Information Leak / Session Hijack Vulnerability in Rack
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies