Skip to main content
VulnerabilityPublished Updated

CVE-2026-48022: hapijs wreck · Cleartext Transmission

Affects hapijs wreckSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.5 Medium : upgrade to 18.1.2 when convenient.

Data as of 30 Nov 2026, 18:37 UTC

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 30 Nov 2026.

What to do

Upgrade wreck and @hapi/wreck to 18.1.2.

Affected software

ProductAffectedFixed in
hapijswreckAffected
  • <18.1.2
Fixed in
  • 18.1.2
npm@hapi/wreckpkg:npm/%40hapi/wreckOther threatsAffected
  • <18.1.2
Fixed in
  • 18.1.2

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

AI-suggested

Upgrade hapijs wreck to version 18.1.2 or later, where this issue is fixed. Patch status is confirmed by the version fix noted in the description. No additional mitigations are specified.

Description

@hapi/wreck is an HTTP client utility. Prior to 18.1.2, Wreck strips credential headers including Authorization, Cookie, and Proxy-Authorization before following a cross-origin redirect, but the origin check compares hostnames only and ignores scheme and port, so credentials are forwarded intact across same-host port changes and HTTPS-to-HTTP downgrades, allowing a co-tenant on an adjacent port or a network-position attacker capable of forging a redirect to capture bearer tokens, session cookies, and proxy credentials and impersonate the victim against the upstream service. This issue is fixed in version 18.1.2.

References

Community reviews

Loading reviews…