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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @hapi/wreck | 18.1.1 | GHSA-vhjm-w67q-g75c |
Affected products (as reported)
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
- https://github.com/hapijs/wreck/security/advisories/GHSA-vhjm-w67q-g75c x_refsource_CONFIRM
- https://github.com/hapijs/wreck/pull/312 x_refsource_MISC
- https://github.com/hapijs/wreck/commit/a5b6fac9c684621c1d5733d10a0257697cfea373 x_refsource_MISC
- https://github.com/hapijs/wreck/releases/tag/v18.1.1 x_refsource_MISC