medium6.3
CVE-2026-44979
@hapi/wreck leaks sensitive `Proxy-Authorization` header across cross-hostname redirects
Impact
@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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @hapi/wreck | < 18.1.1 | 18.1.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-vhjm-w67q-g75c
- https://github.com/hapijs/wreck/security/advisories/GHSA-vhjm-w67q-g75c
- https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3
- https://github.com/hapijs/wreck/commit/a5b6fac9c684621c1d5733d10a0257697cfea373
- https://github.com/hapijs/wreck/pull/312
- https://github.com/hapijs/wreck/releases/tag/v18.1.1