{"id":"CVE-2026-44979","aliases":["GHSA-vhjm-w67q-g75c"],"url":"https://o3.security/vulnerability/CVE-2026-44979","summary":"@hapi/wreck : Sensitive `Proxy-Authorization` header leaked across cross-hostname redirects","details":"### 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)","published":"2026-07-17T21:01:01.165Z","modified":"2026-08-12T03:51:35.136707202Z","cvss":null,"epss":{"score":0.0026,"percentile":0.17933,"asOf":"2026-08-15"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@hapi/wreck","fixedVersion":"18.1.1"}],"fix":{"url":"https://github.com/hapijs/wreck/commit/a5b6fac9c684621c1d5733d10a0257697cfea373","label":"hapijs/wreck@a5b6fac"},"references":[{"type":"WEB","url":"https://github.com/hapijs/wreck/releases/tag/v18.1.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44979.json"},{"type":"ADVISORY","url":"https://github.com/hapijs/wreck/security/advisories/GHSA-vhjm-w67q-g75c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44979"},{"type":"FIX","url":"https://github.com/hapijs/wreck/commit/a5b6fac9c684621c1d5733d10a0257697cfea373"},{"type":"FIX","url":"https://github.com/hapijs/wreck/pull/312"},{"type":"WEB","url":"https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3"},{"type":"PACKAGE","url":"https://github.com/hapijs/wreck"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:35.136707202Z"}}