Vulnerability

CVE-2026-48022

mediumCVSS 3.1 6.5Published 17 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /hapijs/wreck/commit/b93323b63ad3adb14d2b4019d7721918221164…
  • github.com /hapijs/wreck/pull/313
  • github.com /hapijs/wreck/releases/tag/v18.1.2
  • github.com /hapijs/wreck/security/advisories/GHSA-x426-x7cc-3fpc

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning