cbcvebase.
CVE-2026-25500
published 2026-02-18

CVE-2026-25500: Rack is a modular Ruby web server interface. Prior to versions 2.2.22, 3.1.20, and 3.2.5, `Rack::Directory` generates an HTML directory index where each file…

PriorityP429medium5.4CVSS 3.1
AVNACLPRLUIRSCCLILAN
EPSS
0.22%
13.2th percentile
Rack is a modular Ruby web server interface. Prior to versions 2.2.22, 3.1.20, and 3.2.5, `Rack::Directory` generates an HTML directory index where each file entry is rendered as a clickable link. If a file exists on disk whose basename starts with the `javascript:` scheme (e.g. `javascript:alert(1)`), the generated index contains an anchor whose `href` is exactly `javascript:alert(1)`. Clicking the entry executes JavaScript in the browser (demonstrated with `alert(1)`). Versions 2.2.22, 3.1.20, and 3.2.5 fix the issue.

Affected

9 ranges
VendorProductVersion rangeFixed in
debianruby-rack< ruby-rack 2.2.22-0+deb12u1 (bookworm)ruby-rack 2.2.22-0+deb12u1 (bookworm)
rackrack< 2.2.222.2.22
rackrack
rackrack
rackrack>= 0 < 2.2.222.2.22
rackrack>= 3.0.0 < 3.1.203.1.20
rackrack>= 3.0.0.beta1 < 3.1.203.1.20
rackrack>= 3.2.0 < 3.2.53.2.5
rackrack>= 3.2.0 < 3.2.53.2.5

CVSS provenance

nvdv3.15.4MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
osv7.5HIGH
vendor_ubuntu7.5HIGH
vendor_debian5.4MEDIUM
vendor_redhat5.4MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.