CVE-2026-44979
@hapi/wreck : Sensitive `Proxy-Authorization` header leaked across cross-hostname redirects
@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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.3
@hapi/wreck : Sensitive `Proxy-Authorization` header leaked across cross-hostname redirects
@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.
- Record
CVE-2026-44979- CVSS 4.0
- 6.3 Medium
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 - Weakness
- CWE-200, CWE-522
- Updated
- 2026-11-02
EUVDEUVD-2026-45339
6.3
@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.
- Record
EUVD-2026-45339- CVSS 4.0
- 6.3 Medium
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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-vhjm-w67q-g75c
6.3
@hapi/wreck leaks sensitive `Proxy-Authorization` header across cross-hostname redirects
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
beforeRedirecthook to manually strip proxy-authorization (and any other sensitive application headers) whenredirectOptionstargets a different hostname than the original request.
Resources
- Related: CVE-2024-30260 / GHSA-3787-6prv-h9w3 (undici)
- RFC 7235 §4.4 — Proxy-Authorization
- Record
GHSA-vhjm-w67q-g75c- CVSS 4.0
- 6.3 Medium
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 - Weakness
- CWE-200, CWE-522
- Updated
- 2026-11-02
NVD
6.3
@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.
- Record
CVE-2026-44979- CVSS 4.0
- 6.3 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-200, CWE-522
- Updated
- 2026-11-02
OSV
6.3
@hapi/wreck : Sensitive `Proxy-Authorization` header leaked across cross-hostname redirects
@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.
- Record
CVE-2026-44979- CVSS 4.0
- 6.3 Medium
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 - Weakness
- CWE-200, CWE-522
- Updated
- 2026-11-02
OSVGHSA-vhjm-w67q-g75c
6.3
@hapi/wreck leaks sensitive `Proxy-Authorization` header across cross-hostname redirects
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
beforeRedirecthook to manually strip proxy-authorization (and any other sensitive application headers) whenredirectOptionstargets a different hostname than the original request.
Resources
- Related: CVE-2024-30260 / GHSA-3787-6prv-h9w3 (undici)
- RFC 7235 §4.4 — Proxy-Authorization
- Record
GHSA-vhjm-w67q-g75c- CVSS 4.0
- 6.3 Medium
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 - Weakness
- CWE-200, CWE-522
- Updated
- 2026-11-02
OSVCLSA-2026-1789068952 No score
TuxCare security update for 2 packages (2 CVEs)
TuxCare rebuilt 2 packages to address 2 CVEs. Fixed in 17.2.0-tuxcare.1.
- Record
CLSA-2026-1789068952- Updated
- 2026-11-02
OSVCLSA-2026-1792177263 No score
TuxCare security update for @hapi/wreck (2 CVEs)
TuxCare rebuilt @hapi/wreck to address 2 CVEs. Fixed in 17.2.0-tuxcare.1.
- Record
CLSA-2026-1792177263- Updated
- 2026-11-02
OSVROOT-APP-NPM-CVE-2026-44979 No score
CVE-2026-44979 in @rootio/hapi__wreck - Patched by Root
Root has patched CVE-2026-44979 in the @rootio/hapi__wreck package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2026-44979- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
@hapi/wrecknpm |
before 18.1.1 | 18.1.1 |
@hapi/wreckTuxCare:npm From an advisory covering 2 CVEs |
17.2.0-tuxcare.0 up to 17.2.0-tuxcare.1, plus listed versions 17.2.0 |
17.2.0-tuxcare.1 |
hapi-wreckTuxCare:npm From an advisory covering 2 CVEs |
17.2.0-tuxcare.0 up to 17.2.0-tuxcare.1, plus listed versions 17.2.0 |
17.2.0-tuxcare.1 |
@rootio/hapi__wreckRoot:npm |
before 18.1.0-root.io.1 | 18.1.0-root.io.117.2.0-root.io.118.1.0-root.io.217.2.0-root.io.2 |
@hapi/wreckRoot:npm |
before 18.1.0-aikido.1 | 18.1.0-aikido.117.2.0-aikido.118.1.0-aikido.217.2.0-aikido.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-44979 is a medium vulnerability (CVSS 6.3) in Hapijs Wreck, published May 27, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.42%, the 36th percentile. Fixed in @hapi/wreck 18.1.1.
References
github.com/hapijs/wreck/security/advisories/GHSA-vhjm-w67q-g75c
github.com/hapijs/wreck/pull/312
github.com/hapijs/wreck/commit/a5b6fac9c684621c1d5733d10a0257697cfea373
github.com/hapijs/wreck/releases/tag/v18.1.1
github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3
github.com/advisories/GHSA-vhjm-w67q-g75c
github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44979.json
nvd.nist.gov/vuln/detail/CVE-2026-44979
github.com/hapijs/wreck