CVE-2026-125109
Description
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.
Weakness
- CWE-1286: Improper Validation of Syntactic Correctness of Input
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-10 |
Timeline
- 2026-11-09Published by the CNA21:57 UTC
- 2026-11-10GitHub advisory published (GHSA-2j8w-xcrc-x985)1 day after publication
- 2026-11-10CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-2j8w-xcrc-x985, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| RubyGems rack | from 3.0.0 before 3.1.23 | 3.1.23 |
| RubyGems rack | from 3.2.0 before 3.2.8 | 3.2.8 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| rack rack |
References
- https://github.com/rack/rack/commit/4380381a56dc52556a436d6d794c8e18dc8b0565
- https://github.com/rack/rack/commit/49386f460286b7346c7003b69a839de782cc8a39
- https://github.com/rack/rack/releases/tag/v3.1.23
- https://github.com/rack/rack/releases/tag/v3.2.8
- https://github.com/rack/rack/security/advisories/GHSA-2j8w-xcrc-x985
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-125109'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-125109'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-125109'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-125109'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).