CVE-2026-44979 Details
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.
A vulnerability in the @hapi/wreck HTTP client utility, affecting versions prior to 18.1.1, allows the Proxy-Authorization header to be forwarded intact during 3xx redirects to different hostnames. This could expose forward-proxy credentials to a host outside the original trust boundary. The issue arises because, while the Authorization and Cookie headers are stripped during such redirects, the Proxy-Authorization header is not, potentially leading to unauthorized credential exposure when redirects are enabled.
Upgrade @hapi/wreck to version 18.1.1 or later, where this vulnerability is fixed. If an immediate upgrade is not possible, consider disabling redirects or manually stripping the Proxy-Authorization header before making requests.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 17, 2026CISA-ADP
Assessed Jul 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hapijs/wreck/commit/a5b6fac9c684621c1d5733d10a0257697cfea373 | [email protected] | Source CodeVendor |
| https://github.com/hapijs/wreck/pull/312 | [email protected] | Issue TrackingVendor |
| https://github.com/hapijs/wreck/releases/tag/v18.1.1 | [email protected] | Release NotesVendor |
| https://github.com/hapijs/wreck/security/advisories/GHSA-vhjm-w67q-g75c | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
| CWE-522 | Insufficiently Protected Credentials | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| @hapi/wreck | < 18.1.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 20, 2026 | CVE Modified | CISA-ADP |
| Jul 17, 2026 | New CVE Received | [email protected] |
Volerion