Vulnerability · Published Jul 17, 2026 · Assigned by GitHub_M

CVE-2026-44979@hapi/wreck : Sensitive `Proxy-Authorization` header leaked across cross-hostname redirects

Medium 6.3

In plain English

A medium-severity information exposure in wreck from hapijs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.3Medium
Exploit odds (30 days)0.4%top 63.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

@hapi/wreck is an HTTP client utility. Prior to 18.1.1, when @hapi/wreck follows a 3xx redirect to a different hostname, only the Authorization and Cookie headers are stripped, and the standard credential header Proxy-Authorization is forwarded intact to the redirect target, potentially exposing forward-proxy credentials to a host outside the original trust boundary when redirects are enabled through the redirects option or Wreck.defaults({ redirects: ... }). This issue is fixed in version 18.1.1.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@hapi/wreck18.1.1GHSA-vhjm-w67q-g75c

Affected products (as reported)

VendorProductVersions
hapijs wreck < 18.1.1

Weakness: CWE-200, CWE-522 · Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

References