CVE-2026-34785
Last modified
CVE-2026-34785 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Static determines whether a request should be served as a static file using a simple string prefix check. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
Description
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Static determines whether a request should be served as a static file using a simple string prefix check. When configured with URL prefixes such as "/css", it matches any request path that begins with that string, including unrelated paths such as "/css-config.env" or "/css-backup.sql". As a result, files under the static root whose names merely share the configured prefix may be served unintentionally, leading to information disclosure. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rack | Rack | < 2.2.23 |
| Rack | Rack | >= 3.0.0, < 3.1.21 |
| Rack | Rack | >= 3.2.0, < 3.2.6 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-34785?
How severe is CVE-2026-34785?
How do I fix CVE-2026-34785?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-3478The Content Syndication Toolkit plugin for WordPress is vuln…7.2
- CVE-2026-34780Electron is a framework for writing cross-platform desktop a…6.1
- CVE-2026-34781Electron is a framework for writing cross-platform desktop a…3.3
- CVE-2026-34782Zammad is a web based open source helpdesk/customer support …4.3
- CVE-2026-34783Ferret is a declarative system for working with web data. Pr…8.1
- CVE-2026-34784Parse Server is an open source backend that can be deployed …7.5
- CVE-2026-34786Rack is a modular Ruby web server interface. Prior to versio…5.3
- CVE-2026-34787Emlog is an open source website building system. In versions…6.5
- CVE-2026-34788Emlog is an open source website building system. In versions…6.5
- CVE-2026-3479DISPUTED: The project has clarified that the documentation w…0
- CVE-2026-34790Endian Firewall version 3.3.25 and prior allow authenticated…8.1
- CVE-2026-34791Endian Firewall version 3.3.25 and prior allow authenticated…8.8
Are you affected by CVE-2026-34785?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
