CVE-2026-34763Rack
Medium 5.3 No auth needed
Follow: this CVE · Rack · Rack We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Apr 2, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-625
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Directory interpolates the configured root path directly into a regular expression when deriving the displayed directory path. If root contains regex metacharacters such as +, *, or ., the prefix stripping can fail and the generated directory listing may expose the full filesystem path in the HTML output. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.
What to do
- Apply the vendor's security update for Rack.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rack |
< 2.2.23 |
2.2.23 |
gem "rack", ">= 2.2.23" |
| RubyGems | rack |
≥ 3.0.0.beta1 < 3.1.21 |
3.1.21 |
gem "rack", ">= 3.1.21" |
| RubyGems | rack |
≥ 3.2.0 < 3.2.6 |
3.2.6 |
gem "rack", ">= 3.2.6" |
Per OSV / GitHub Advisories (GHSA-7mqq-6cf9-v2qp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rack | rack | < 2.2.23 |
| rack | rack | ≥ 3.0.0 < 3.1.21 |
| rack | rack | ≥ 3.2.0 < 3.2.6 |
Official advisories
- ansible-rmt-server-3.2.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12677-1 · Nov 24, 2026 High
- Security update for rmt-server · SUSE · openSUSE-SU-2026:21640-1 · Aug 25, 2026 High
- Security update for rmt-server · SUSE · SUSE-SU-2026:23321-1 · Aug 25, 2026 High
Also: SUSE (+2)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory