Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-44979
Published:May 31, 2026
Updated:June 13, 2026
Impact When "@hapi/wreck" follows a 3xx redirect to a different hostname, only the "Authorization" and "Cookie" headers are stripped. 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. Redirect following is opt-in. The redirects option defaults to false (no redirections followed), so applications are only affected if they have explicitly set redirects to a positive integer on the request or via "Wreck.defaults({ redirects: ... })". Patches "@hapi/wreck" 18.1.1 extends the cross-hostname strip set to include "proxy-authorization". Upgrade to 18.1.1 or later. Workarounds If upgrading is not immediately possible: - Leave redirects at its default ("false") — applications that never enable redirect following are not affected. - If redirects are required, set redirects: 0 when calling endpoints with sensitive headers, or strip Proxy-Authorization from the headers before issuing the request. - Use the "beforeRedirect" hook to manually strip proxy-authorization (and any other sensitive application headers) when "redirectOptions" targets a different hostname than the original request. Resources - Related: "CVE-2024-30260 / GHSA-3787-6prv-h9w3 " (https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3)(undici) - "RFC 7235 §4.4 — Proxy-Authorization" (https://datatracker.ietf.org/doc/html/rfc7235#section-4.4)
Affected Packages
https://github.com/hapijs/wreck.git (GITHUB):
Affected version(s) >=v0.0.1 <v18.1.1
Fix Suggestion:
Update to version v18.1.1
@hapi/wreck (NPM):
Affected version(s) >=15.0.0 <18.1.1
Fix Suggestion:
Update to version 18.1.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Exposure of Sensitive Information to an Unauthorized Actor
Insufficiently Protected Credentials
EPSS
Base Score:
0.05