{"id":"CVE-2026-44979","aliases":["CLSA-2026-1789068952","CLSA-2026-1792177263","EUVD-2026-45339","GHSA-vhjm-w67q-g75c","ROOT-APP-NPM-CVE-2026-44979"],"status":"published","title":"@hapi/wreck : Sensitive `Proxy-Authorization` header leaked across cross-hostname redirects","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":{"version":"4.0","score":6.3,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.0042,"percentile":0.36584,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200","CWE-522"],"published":"2026-05-27T00:38:09Z","modified":"2026-10-30T19:45:13Z","fixes":[{"ecosystem":"npm","package":"@hapi/wreck","fixed_in":["18.1.1"],"sources":["ghsa","osv"]},{"ecosystem":"Root:npm","package":"@rootio/hapi__wreck","fixed_in":["18.1.0-root.io.1","17.2.0-root.io.1","18.1.0-root.io.2","17.2.0-root.io.2"],"sources":["osv"]},{"ecosystem":"Root:npm","package":"@hapi/wreck","fixed_in":["18.1.0-aikido.1","17.2.0-aikido.1","18.1.0-aikido.2","17.2.0-aikido.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@hapi/wreck","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.1.1"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"@hapi/wreck","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"17.2.0-tuxcare.0"},{"fixed":"17.2.0-tuxcare.1"}]}],"versions":["17.2.0"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"hapi-wreck","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"17.2.0-tuxcare.0"},{"fixed":"17.2.0-tuxcare.1"}]}],"versions":["17.2.0"],"bundled":2},{"source":"osv","ecosystem":"TuxCare:npm","package":"@hapi/wreck","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"17.2.0-tuxcare.0"},{"fixed":"17.2.0-tuxcare.1"}]}],"versions":["17.2.0"],"bundled":2},{"source":"osv","ecosystem":"npm","package":"@hapi/wreck","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"18.1.1"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"@rootio/hapi__wreck","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.1.0-root.io.1"},{"fixed":"17.2.0-root.io.1"},{"fixed":"18.1.0-root.io.2"},{"fixed":"17.2.0-root.io.2"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"@hapi/wreck","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.1.0-aikido.1"},{"fixed":"17.2.0-aikido.1"},{"fixed":"18.1.0-aikido.2"},{"fixed":"17.2.0-aikido.2"}]}]}],"products":[{"vendor":"hapijs","product":"wreck"}],"references":[{"url":"https://github.com/hapijs/wreck/security/advisories/GHSA-vhjm-w67q-g75c","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/hapijs/wreck/pull/312","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/hapijs/wreck/commit/a5b6fac9c684621c1d5733d10a0257697cfea373","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/hapijs/wreck/releases/tag/v18.1.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3","tags":["web"]},{"url":"https://github.com/advisories/GHSA-vhjm-w67q-g75c"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44979.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44979","tags":["advisory"]},{"url":"https://github.com/hapijs/wreck","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-44979","title":"@hapi/wreck : Sensitive `Proxy-Authorization` header leaked across cross-hostname redirects","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.","status":"published","published":"2026-07-17T21:01:01.165Z","modified":"2026-07-20T14:35:45.343Z","cvss":[{"version":"4.0","score":6.3,"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","level":"medium","assessor":"cna"}],"cwes":["CWE-200","CWE-522"],"updated_at":"2026-11-02T13:42:49.132798Z"}],"euvd":[{"id":"EUVD-2026-45339","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.","status":"published","published":"2026-07-17T21:01:01Z","modified":"2026-07-20T14:35:45Z","cvss":[{"version":"4.0","score":6.3,"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","level":"medium"}],"updated_at":"2026-11-02T18:19:49.035342Z"}],"ghsa":[{"id":"GHSA-vhjm-w67q-g75c","title":"@hapi/wreck leaks sensitive `Proxy-Authorization` header across cross-hostname redirects","description":"### Impact\nWhen `@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.\n\nRedirect 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: ... })`.\n\n### Patches\n`@hapi/wreck` 18.1.1 extends the cross-hostname strip set to include `proxy-authorization`. Upgrade to 18.1.1 or later.\n\n### Workarounds\nIf upgrading is not immediately possible:\n- Leave redirects at its default (`false`) — applications that never enable redirect following are not affected.\n- If redirects are required, set redirects: 0 when calling endpoints with sensitive headers, or strip Proxy-Authorization from the headers before issuing the request.\n- 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.\n\n### Resources\n- Related: [CVE-2024-30260 / GHSA-3787-6prv-h9w3 ](https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3)(undici)\n- [RFC 7235 §4.4 — Proxy-Authorization](https://datatracker.ietf.org/doc/html/rfc7235#section-4.4)","status":"published","published":"2026-05-27T00:38:09Z","modified":"2026-05-27T00:38:10Z","cvss":[{"version":"4.0","score":6.3,"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","level":"medium"}],"cwes":["CWE-200","CWE-522"],"updated_at":"2026-11-02T14:40:14.666177Z"}],"nvd":[{"id":"CVE-2026-44979","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.","status":"published","published":"2026-07-17T22:17:12.71Z","modified":"2026-10-24T20:10:00.137Z","cvss":[{"version":"4.0","score":6.3,"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/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","level":"medium","assessor":"secondary"}],"cwes":["CWE-200","CWE-522"],"updated_at":"2026-11-02T14:12:30.631352Z"}],"osv":[{"id":"CVE-2026-44979","title":"@hapi/wreck : Sensitive `Proxy-Authorization` header leaked across cross-hostname redirects","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.","status":"published","published":"2026-07-17T21:01:01.165Z","modified":"2026-10-28T02:31:02.313983757Z","cvss":[{"version":"4.0","score":6.3,"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","level":"medium"}],"cwes":["CWE-200","CWE-522"],"updated_at":"2026-11-02T15:45:05.172514Z"},{"id":"GHSA-vhjm-w67q-g75c","title":"@hapi/wreck leaks sensitive `Proxy-Authorization` header across cross-hostname redirects","description":"### Impact\nWhen `@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.\n\nRedirect 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: ... })`.\n\n### Patches\n`@hapi/wreck` 18.1.1 extends the cross-hostname strip set to include `proxy-authorization`. Upgrade to 18.1.1 or later.\n\n### Workarounds\nIf upgrading is not immediately possible:\n- Leave redirects at its default (`false`) — applications that never enable redirect following are not affected.\n- If redirects are required, set redirects: 0 when calling endpoints with sensitive headers, or strip Proxy-Authorization from the headers before issuing the request.\n- 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.\n\n### Resources\n- Related: [CVE-2024-30260 / GHSA-3787-6prv-h9w3 ](https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3)(undici)\n- [RFC 7235 §4.4 — Proxy-Authorization](https://datatracker.ietf.org/doc/html/rfc7235#section-4.4)","status":"published","published":"2026-05-27T00:38:09Z","modified":"2026-09-10T03:50:47.710849639Z","cvss":[{"version":"4.0","score":6.3,"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","level":"medium"}],"cwes":["CWE-200","CWE-522"],"updated_at":"2026-11-02T15:46:57.348035Z"},{"id":"CLSA-2026-1789068952","title":"TuxCare security update for 2 packages (2 CVEs)","description":"TuxCare rebuilt 2 packages to address 2 CVEs. Fixed in 17.2.0-tuxcare.1.","status":"published","published":"2026-09-10T19:35:52Z","modified":"2026-10-15T09:47:55.817789503Z","updated_at":"2026-11-02T15:43:47.938828Z"},{"id":"CLSA-2026-1792177263","title":"TuxCare security update for @hapi/wreck (2 CVEs)","description":"TuxCare rebuilt @hapi/wreck to address 2 CVEs. Fixed in 17.2.0-tuxcare.1.","status":"published","published":"2026-10-16T19:01:03Z","modified":"2026-10-30T19:45:13.893244009Z","updated_at":"2026-11-02T15:43:51.747192Z"},{"id":"ROOT-APP-NPM-CVE-2026-44979","title":"CVE-2026-44979 in @rootio/hapi__wreck - Patched by Root","description":"Root has patched CVE-2026-44979 in the @rootio/hapi__wreck package for Root:npm. Multiple fixed versions available.","status":"published","published":"2026-07-10T09:17:27Z","modified":"2026-07-10T13:15:19.996920529Z","updated_at":"2026-11-02T15:53:27.649662Z"}]}}
