# CVE-2026-32762: Rack interpretation conflict in Forwarded header parsing

Source: https://junglewise.ai/threats/cve-2026-32762-rack-interpretation-conflict-in-forwarded-header-parsing  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-02. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-32762 · Severity: medium · CVSS 4.8 · Published 2026-04-02

Rack is a standard interface used by Ruby web applications to communicate with web servers. A flaw in how it handles network headers allows attackers to manipulate information about the original request, such as the website's address or security protocol. This can lead to security issues like unauthorized redirects, incorrect logging, or the generation of malicious password reset links.

Technologies: [rack (RubyGems)](https://junglewise.ai/threats/technologies/rack). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2026-32762 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-32762 being exploited in the wild.

**How severe is CVE-2026-32762?** Medium severity, with a CVSS score of 4.8, published 2 April 2026.

**Which products and versions are affected?** rack (RubyGems) ECOSYSTEM:introduced=3.0.0.beta1,fixed=3.1.21.

**Is there a fix for CVE-2026-32762?** Yes. rack (RubyGems): upgrade to 3.1.21 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-32762 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-32762?** Check whether you run rack (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- rack (RubyGems): upgrade to 3.1.21 or later

  ```sh
  bundle update rack
  ```


## Technical details

The vulnerability exists in Rack::Utils.forwarded_values, which incorrectly parses RFC 7239 Forwarded headers by splitting on semicolons before processing quoted-string values. Because semicolons are legally permitted within quoted strings, an attacker can craft a header that Rack interprets as multiple directives (e.g., host, proto) while an upstream proxy or WAF sees it as a single value. This interpretation conflict allows for header smuggling. Attackers can exploit this to spoof request metadata such as req.host and req.scheme, which may impact security-sensitive operations like absolute URL generation or IP-based access control. The issue is patched in versions 3.1.21 and 3.2.6.

## Affected products

- Rack Rack >= 3.0.0.beta1, < 3.1.21; >= 3.2.0, < 3.2.6

## Identifiers

- CVE-2026-32762
- GHSA-qfgr-crr9-7r49

## Timeline

- 2026-04-01: advisory: GitHub advisory GHSA-qfgr-crr9-7r49 published
- 2026-04-02: disclosed: CVE-2026-32762 published

## References

- [https://github.com/rack/rack/security/advisories/GHSA-qfgr-crr9-7r49](https://github.com/rack/rack/security/advisories/GHSA-qfgr-crr9-7r49)

## Related threats

- [Rack multipart parser denial of service via unbounded scan buffer growth](https://junglewise.ai/threats/cve-2026-125111-rack-multipart-parsing-allows-dos-via-unbounded-scan-buffer)
- [Rack::Static header_rules bypass via dot-segment normalization mismatch](https://junglewise.ai/threats/cve-2026-125110-rack-rack-static-header-rules-bypass-via-dot-segment)
- [Rack host validation bypass via HTTP headers](https://junglewise.ai/threats/cve-2026-125109-rack-is-a-modular-ruby-web-server-interface-from-3-0-until-3-1)
- [Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8…](https://junglewise.ai/threats/cve-2026-125108-rack-multipart-boundary-ambiguity-guard-in-rack-multipart-parser)
- [Rack Rack::Request host allowlist bypass via Host header poisoning](https://junglewise.ai/threats/cve-2026-34835-rack-rack-request-host-allowlist-bypass-via-host-header-poisoning)
