Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-34785

published high CVSS 3.1 · 7.5

Rack: Local file inclusion in `Rack::Static` via URL Prefix Matching

Published
02 Apr 2026, 16:44:17 UTC
Updated
15 Jul 2026, 01:03:43 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
rack — rack< 2.2.23 · >= 3.0.0.beta1, < 3.1.21 · >= 3.2.0, < 3.2.6 Affected Not stated GitHub_M
Red Hat — rubygem-rackRed Hat Satellite 6 Unaffected Not required redhat-SADP
Red Hat — rubygem-rack-testRed Hat Satellite 6 Unaffected Not required redhat-SADP
Red Hat — satellite-capsule:el8/rubygem-rackRed Hat Satellite 6 Unaffected Not required redhat-SADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm ruby-rack Advisory build 2.2.22-0+deb12u2 DLA-4706-1
SUSE / openSUSE SLE-15-SP4 rmt-serveraarch64 Advisory build 2.27-150400.3.54.1 SUSE-SU-2026:1964-1
Ubuntu bionic ruby-rack Advisory build 1.6.4-4ubuntu0.2+esm10 USN-8182-1
Show 89 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — satellite:el8/rubygem-rack-testRed Hat Satellite 6 Unaffected Not required redhat-SADP
Debian bullseye ruby-rack Advisory build 2.1.4-3+deb11u6 DLA-4706-1
Debian trixie ruby-rack Advisory build 3.1.20-0+deb13u2 DSA-6492-1
SUSE / openSUSE SLE-15-SP4 rmt-serverppc64le Advisory build 2.27-150400.3.54.1 SUSE-SU-2026:1964-1
SUSE / openSUSE SLE-15-SP4 rmt-servers390x Advisory build 2.27-150400.3.54.1 SUSE-SU-2026:1964-1
SUSE / openSUSE SLE-15-SP4 rmt-serverx86_64 Advisory build 2.27-150400.3.54.1 SUSE-SU-2026:1964-1
SUSE / openSUSE SLE-15-SP4 rmt-server-configaarch64 Advisory build 2.27-150400.3.54.1 SUSE-SU-2026:1964-1
SUSE / openSUSE SLE-15-SP4 rmt-server-configppc64le Advisory build 2.27-150400.3.54.1 SUSE-SU-2026:1964-1
SUSE / openSUSE SLE-15-SP4 rmt-server-configs390x Advisory build 2.27-150400.3.54.1 SUSE-SU-2026:1964-1
SUSE / openSUSE SLE-15-SP4 rmt-server-configx86_64 Advisory build 2.27-150400.3.54.1 SUSE-SU-2026:1964-1
SUSE / openSUSE SLE-15-SP4 rmt-server-pubcloudaarch64 Advisory build 2.27-150400.3.54.1 SUSE-SU-2026:1964-1
SUSE / openSUSE SLE-15-SP4 rmt-server-pubcloudppc64le Advisory build 2.27-150400.3.54.1 SUSE-SU-2026:1964-1
SUSE / openSUSE SLE-15-SP4 rmt-server-pubclouds390x Advisory build 2.27-150400.3.54.1 SUSE-SU-2026:1964-1
SUSE / openSUSE SLE-15-SP4 rmt-server-pubcloudx86_64 Advisory build 2.27-150400.3.54.1 SUSE-SU-2026:1964-1
SUSE / openSUSE SLE-15-SP5 rmt-serveraarch64 Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP5 rmt-serverppc64le Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP5 rmt-servers390x Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP5 rmt-serverx86_64 Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP5 rmt-server-configaarch64 Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP5 rmt-server-configppc64le Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP5 rmt-server-configs390x Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP5 rmt-server-configx86_64 Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP5 rmt-server-pubcloudaarch64 Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP5 rmt-server-pubcloudppc64le Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP5 rmt-server-pubclouds390x Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP5 rmt-server-pubcloudx86_64 Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP6 rmt-serveraarch64 Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP6 rmt-serverppc64le Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP6 rmt-servers390x Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP6 rmt-serverx86_64 Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP6 rmt-server-configaarch64 Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP6 rmt-server-configppc64le Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP6 rmt-server-configs390x Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP6 rmt-server-configx86_64 Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP6 rmt-server-pubcloudaarch64 Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP6 rmt-server-pubcloudppc64le Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP6 rmt-server-pubclouds390x Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP6 rmt-server-pubcloudx86_64 Advisory build 2.27-150500.3.47.1 SUSE-SU-2026:2487-1
SUSE / openSUSE SLE-15-SP7 rmt-serveraarch64 Advisory build 2.27-150700.3.20.1 SUSE-SU-2026:1745-1
SUSE / openSUSE SLE-15-SP7 rmt-serverppc64le Advisory build 2.27-150700.3.20.1 SUSE-SU-2026:1745-1
SUSE / openSUSE SLE-15-SP7 rmt-servers390x Advisory build 2.27-150700.3.20.1 SUSE-SU-2026:1745-1
SUSE / openSUSE SLE-15-SP7 rmt-serverx86_64 Advisory build 2.27-150700.3.20.1 SUSE-SU-2026:1745-1
SUSE / openSUSE SLE-15-SP7 rmt-server-configaarch64 Advisory build 2.27-150700.3.20.1 SUSE-SU-2026:1745-1
SUSE / openSUSE SLE-15-SP7 rmt-server-configppc64le Advisory build 2.27-150700.3.20.1 SUSE-SU-2026:1745-1
SUSE / openSUSE SLE-15-SP7 rmt-server-configs390x Advisory build 2.27-150700.3.20.1 SUSE-SU-2026:1745-1
SUSE / openSUSE SLE-15-SP7 rmt-server-configx86_64 Advisory build 2.27-150700.3.20.1 SUSE-SU-2026:1745-1
SUSE / openSUSE SLE-15-SP7 rmt-server-pubcloudaarch64 Advisory build 2.27-150700.3.20.1 SUSE-SU-2026:1745-1
SUSE / openSUSE SLE-15-SP7 rmt-server-pubcloudppc64le Advisory build 2.27-150700.3.20.1 SUSE-SU-2026:1745-1
SUSE / openSUSE SLE-15-SP7 rmt-server-pubclouds390x Advisory build 2.27-150700.3.20.1 SUSE-SU-2026:1745-1
SUSE / openSUSE SLE-15-SP7 rmt-server-pubcloudx86_64 Advisory build 2.27-150700.3.20.1 SUSE-SU-2026:1745-1
SUSE / openSUSE SLE-16 rmt-serveraarch64 Advisory build 3.1.0-160000.1.1 SUSE-SU-2026:23321-1
SUSE / openSUSE SLE-16 rmt-serverppc64le Advisory build 3.1.0-160000.1.1 SUSE-SU-2026:23321-1
SUSE / openSUSE SLE-16 rmt-servers390x Advisory build 3.1.0-160000.1.1 SUSE-SU-2026:23321-1
SUSE / openSUSE SLE-16 rmt-serverx86_64 Advisory build 3.1.0-160000.1.1 SUSE-SU-2026:23321-1
SUSE / openSUSE SLE-16 rmt-server-configaarch64 Advisory build 3.1.0-160000.1.1 SUSE-SU-2026:23321-1
SUSE / openSUSE SLE-16 rmt-server-configppc64le Advisory build 3.1.0-160000.1.1 SUSE-SU-2026:23321-1
SUSE / openSUSE SLE-16 rmt-server-configs390x Advisory build 3.1.0-160000.1.1 SUSE-SU-2026:23321-1
SUSE / openSUSE SLE-16 rmt-server-configx86_64 Advisory build 3.1.0-160000.1.1 SUSE-SU-2026:23321-1
SUSE / openSUSE SLE-16 rmt-server-pubcloudaarch64 Advisory build 3.1.0-160000.1.1 SUSE-SU-2026:23321-1
SUSE / openSUSE SLE-16 rmt-server-pubcloudppc64le Advisory build 3.1.0-160000.1.1 SUSE-SU-2026:23321-1
SUSE / openSUSE SLE-16 rmt-server-pubclouds390x Advisory build 3.1.0-160000.1.1 SUSE-SU-2026:23321-1
SUSE / openSUSE SLE-16 rmt-server-pubcloudx86_64 Advisory build 3.1.0-160000.1.1 SUSE-SU-2026:23321-1
SUSE / openSUSE openSUSE-Leap-16.0 ansible-rmt-servernoarch Advisory build 3.1.0-160000.1.1 OPENSUSE-SU-2026:21640-1
SUSE / openSUSE openSUSE-Leap-16.0 rmt-serveraarch64 Advisory build 3.1.0-160000.1.1 OPENSUSE-SU-2026:21640-1
SUSE / openSUSE openSUSE-Leap-16.0 rmt-serverppc64le Advisory build 3.1.0-160000.1.1 OPENSUSE-SU-2026:21640-1
SUSE / openSUSE openSUSE-Leap-16.0 rmt-servers390x Advisory build 3.1.0-160000.1.1 OPENSUSE-SU-2026:21640-1
SUSE / openSUSE openSUSE-Leap-16.0 rmt-serverx86_64 Advisory build 3.1.0-160000.1.1 OPENSUSE-SU-2026:21640-1
SUSE / openSUSE openSUSE-Leap-16.0 rmt-server-configaarch64 Advisory build 3.1.0-160000.1.1 OPENSUSE-SU-2026:21640-1
SUSE / openSUSE openSUSE-Leap-16.0 rmt-server-configppc64le Advisory build 3.1.0-160000.1.1 OPENSUSE-SU-2026:21640-1
SUSE / openSUSE openSUSE-Leap-16.0 rmt-server-configs390x Advisory build 3.1.0-160000.1.1 OPENSUSE-SU-2026:21640-1
SUSE / openSUSE openSUSE-Leap-16.0 rmt-server-configx86_64 Advisory build 3.1.0-160000.1.1 OPENSUSE-SU-2026:21640-1
SUSE / openSUSE openSUSE-Leap-16.0 rmt-server-pubcloudaarch64 Advisory build 3.1.0-160000.1.1 OPENSUSE-SU-2026:21640-1
SUSE / openSUSE openSUSE-Leap-16.0 rmt-server-pubcloudppc64le Advisory build 3.1.0-160000.1.1 OPENSUSE-SU-2026:21640-1
SUSE / openSUSE openSUSE-Leap-16.0 rmt-server-pubclouds390x Advisory build 3.1.0-160000.1.1 OPENSUSE-SU-2026:21640-1
SUSE / openSUSE openSUSE-Leap-16.0 rmt-server-pubcloudx86_64 Advisory build 3.1.0-160000.1.1 OPENSUSE-SU-2026:21640-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rack-2.2aarch64 Advisory build 2.2.23-1.1 OPENSUSE-SU-2026:10508-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rack-2.2ppc64le Advisory build 2.2.23-1.1 OPENSUSE-SU-2026:10508-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rack-2.2s390x Advisory build 2.2.23-1.1 OPENSUSE-SU-2026:10508-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rack-2.2x86_64 Advisory build 2.2.23-1.1 OPENSUSE-SU-2026:10508-1
Ubuntu focal ruby-rack Advisory build 2.0.7-2ubuntu0.1+esm10 USN-8182-1
Ubuntu jammy ruby-rack Advisory build 2.1.4-5ubuntu1.2+esm3 USN-8182-1
Ubuntu noble ruby-rack Advisory build 2.2.7-1ubuntu0.7 USN-8182-1
Ubuntu questing ruby-rack Advisory build 3.1.16-0.1ubuntu0.3 USN-8182-1
Ubuntu resolute ruby-rack Advisory build 3.2.4-1ubuntu1.1 USN-8989-1
Ubuntu trusty librack-ruby Advisory build 1.5.2-3+deb8u3ubuntu1~esm11 USN-8182-1
Ubuntu trusty librack-ruby1.8 Advisory build 1.5.2-3+deb8u3ubuntu1~esm11 USN-8182-1
Ubuntu trusty librack-ruby1.9.1 Advisory build 1.5.2-3+deb8u3ubuntu1~esm11 USN-8182-1
Ubuntu trusty ruby-rack Advisory build 1.5.2-3+deb8u3ubuntu1~esm11 USN-8182-1
Ubuntu xenial ruby-rack Advisory build 1.6.4-3ubuntu0.2+esm10 USN-8182-1

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.

en · GitHub_M · cna

en · redhat-SADP · adp

A flaw was found in Rack. The `Rack::Static` component, which serves static files for web applications, uses a simple string prefix check to determine if a request should be served as a static file. This can lead to unintended information disclosure, as files with names that merely share a configured URL prefix (e.g., "/css" matching "/css-config.env") may be served unintentionally to a remote attacker.

Vendor advisories explicitly linked to this CVE.

18

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.5 high redhat-SADP · adp CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
rack rack < 2.2.23 (affected)>= 3.0.0.beta1, < 3.1.21 (affected)>= 3.2.0, < 3.2.6 (affected) GitHub_M · cna
Red Hat Red Hat Satellite 6 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Satellite 6 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Satellite 6 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Satellite 6 Default: unaffected redhat-SADP · adp

Weaknesses

3
  • CWE-187 CWE-187: Partial String Comparison (GitHub_M · cna)
  • CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (GitHub_M · cna)
  • CWE-552 Files or Directories Accessible to External Parties (redhat-SADP · adp)

References

4

Provider assertions

3

GitHub_M · cna

Rack: Local file inclusion in `Rack::Static` via URL Prefix Matching

redhat-SADP · adp

github.com/rack/rack: Rack: Information disclosure via incorrect static file serving prefix check

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
0da90e587cf114f5d2d4ef7626b868552385429167cb6b9044d7e57499ed15c5
Ingested
23 Sep 2026, 09:11:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected