Skip to main content
CVE-2025-6442VulnerabilityPublished

CVE-2025-6442: Ruby WEBrick · HTTP Request/Response Smuggling

Affects Ruby WEBrickSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.0 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
GitHubruby/webrickpkg:github/ruby/webrickOther threatsAffected
  • =1.8.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Identify and inventory all instances of Ruby WEBrick version 1.8.1 within the organization, including development, testing, and production environments.

Review deployment architectures to determine if WEBrick is positioned behind HTTP proxies or load balancers that may interpret HTTP headers differently, creating conditions for request smuggling.

Until an official patch is released, consider replacing WEBrick with alternative, more robust HTTP servers that are not vulnerable to HTTP Request Smuggling, especially in production environments.

Implement strict HTTP header validation and normalization on all proxy and load balancer components to ensure consistent parsing of HTTP requests.

Deploy web application firewalls (WAFs) with specific rules to detect and block HTTP Request Smuggling attempts, focusing on anomalies in header terminators and request boundaries.

Monitor HTTP traffic logs for irregularities indicative of request smuggling, such as unexpected header sequences or multiple requests concatenated in a single transmission.

Educate development and operations teams about the risks of HTTP Request Smuggling and encourage secure coding and deployment practices.

Plan for timely patching once an official fix for WEBrick 1.8.1 is released by the Ruby project, and test patches in staging environments prior to deployment.

Description

Ruby WEBrick read_header HTTP Request Smuggling Vulnerability. This vulnerability allows remote attackers to smuggle arbitrary HTTP requests on affected installations of Ruby WEBrick. This issue is exploitable when the product is deployed behind an HTTP proxy that fulfills specific conditions. The specific flaw exists within the read_headers method. The issue results from the inconsistent parsing of terminators of HTTP headers. An attacker can leverage this vulnerability to smuggle arbitrary HTTP requests. Was ZDI-CAN-21876.

References

Community reviews

Loading reviews…