Live threats

All CVEs / rack

CVE-2026-125109rack

Medium 4.8 No auth needed

Priority
45
CVSS 3.1
4.8
EPSS
—
Auth required
No
Published
Nov 9, 2026
Updated
Nov 12, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1286
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

What happens

Rack is a modular Ruby web server interface. From 3.0 until 3.1.23 and 3.2.8, Rack::Request#host_with_port, #base_url, and #url can return an attacker-controlled invalid authority from Host, X-Forwarded-Host, or Forwarded: host= verbatim. Applications without an independent host allowlist that use these methods for absolute URLs, redirects, or origin-dependent checks can emit attacker-chosen delimiters, enabling redirect manipulation, string-based allowlist bypass, or unescaped markup reflection. Rails overrides these methods and is not expected to be affected. This issue is fixed in versions 3.1.23 and 3.2.8.

Original NVD text.

What to do

  1. Apply the vendor's security update for rack.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems rack ≥ 3.0.0 < 3.1.23 3.1.23 gem "rack", ">= 3.1.23"
RubyGems rack ≥ 3.2.0 < 3.2.8 3.2.8 gem "rack", ">= 3.2.8"

Per OSV / GitHub Advisories (GHSA-2j8w-xcrc-x985). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.