CVE & CISA-KEV Catalog

CVE-2026-34785

HIGH
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
ruby-rackDebian
Fixed in:2.2.22-0+deb12u2CVE-2026-34785
Fixed in:3.1.20-0+deb13u2CVE-2026-34785
Fixed in:3.2.6-2CVE-2026-34785
librack-rubyUbuntu
Fixed in:1.5.2-3+deb8u3ubuntu1~esm11USN-8182-1

This Ubuntu release reached end-of-life on 2019-04-02.

librack-ruby1.8Ubuntu
Fixed in:1.5.2-3+deb8u3ubuntu1~esm11USN-8182-1

This Ubuntu release reached end-of-life on 2019-04-02.

librack-ruby1.9.1Ubuntu
Fixed in:1.5.2-3+deb8u3ubuntu1~esm11USN-8182-1

This Ubuntu release reached end-of-life on 2019-04-02.

ruby-rackUbuntu
Fixed in:1.5.2-3+deb8u3ubuntu1~esm11USN-8182-1

This Ubuntu release reached end-of-life on 2019-04-02.

Fixed in:1.6.4-3ubuntu0.2+esm10USN-8182-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:1.6.4-4ubuntu0.2+esm10USN-8182-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:2.0.7-2ubuntu0.1+esm10USN-8182-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

Fixed in:2.1.4-5ubuntu1.2+esm3USN-8182-1
Fixed in:2.2.7-1ubuntu0.7USN-8182-1
Fixed in:3.1.16-0.1ubuntu0.3USN-8182-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

0.39%probability of exploitation in 30 days
32ndpercentile

Low risk: more likely to be exploited than 32% of all known CVEs.

References

Related Vulnerabilities

Other CWE-187 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-41110Critical9.916%-Fix
CVE-2022-31802Critical9.81.3%-Fix
CVE-2024-39742High8.10.8%-Fix
CVE-2026-35031Critical9.90.8%-Fix
CVE-2026-62750High6.50.6%-Fix
CVE-2026-14687Medium5.30.5%--

Common questions

How do I fix CVE-2026-34785?

Published advisories record a fix for 5 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2026-34785 being actively exploited?

Not that we know of. CVE-2026-34785 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.39% is the estimated probability that it will be exploited in the next 30 days. That is higher than 32% of all scored CVEs.

How severe is CVE-2026-34785?

CVE-2026-34785 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2026-34785 affect?

Published advisories record a fix for ruby-rack (Debian), librack-ruby (Ubuntu), librack-ruby1.8 (Ubuntu), librack-ruby1.9.1 (Ubuntu), and 1 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2026-34785
CVE-2026-34785 severity badge

Markdown

[![CVE-2026-34785](https://tridentstack.com/cve/badge/CVE-2026-34785.svg)](https://tridentstack.com/cve/CVE-2026-34785)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-34785"><img src="https://tridentstack.com/cve/badge/CVE-2026-34785.svg" alt="CVE-2026-34785"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-07-24.