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.
Severity (CVSS)
| Base score | 6.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-200 — CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-522 — CWE-522: Insufficiently Protected Credentials
Affected products
| Vendor | Product | Versions |
|---|---|---|
| hapijs | wreck | < 18.1.1 |
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)
Generated from the official CVE List on 18 Jul 2026 07:00 UTC.