{"id":"CVE-2026-44979","aliases":["CVE-2026-44979","GHSA-vhjm-w67q-g75c"],"related":[],"kind":"vulnerability","state":"published","title":"@hapi/wreck : Sensitive `Proxy-Authorization` header leaked across cross-hostname redirects","summary":"@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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@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.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"@hapi/wreck es una utilidad de cliente HTTP. Antes de la versión 18.1.1, cuando @hapi/wreck sigue una redirección 3xx a un nombre de host diferente, solo se eliminan los encabezados de Autorización y Cookie, y el encabezado de credenciales estándar Proxy-Authorization se reenvía intacto al destino de la redirección, exponiendo potencialmente las credenciales de proxy de reenvío a un host fuera del límite de confianza original cuando las redirecciones están habilitadas a través de la opción redirects o Wreck.defaults({ redirects: ... }). Este problema se solucionó en la versión 18.1.1.","source":"nvd"}],"published":"2026-05-27T00:38:09.000Z","modified":"2026-10-24T20:10:00.137Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"}],"cwes":["CWE-200","CWE-522"],"affected":[{"ranges":[{"version":"< 18.1.1","status":"affected"}],"vendor":"hapijs","product":"wreck","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.1.1"}],"ecosystem":"npm","package":"@hapi/wreck","purl":"pkg:npm/%40hapi/wreck","source":"ghsa"}],"references":[{"url":"https://github.com/hapijs/wreck/security/advisories/GHSA-vhjm-w67q-g75c","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/hapijs/wreck/pull/312","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/hapijs/wreck/commit/a5b6fac9c684621c1d5733d10a0257697cfea373","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/hapijs/wreck/releases/tag/v18.1.1","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/hapijs/wreck","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-20T14:35:37.787Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-44979","url":"https://www.cve.org/CVERecord?id=CVE-2026-44979","licence":"CVE Terms of Use","modified":"2026-07-20T14:35:45.343Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vhjm-w67q-g75c","url":"https://github.com/advisories/GHSA-vhjm-w67q-g75c","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:47.710Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-44979","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44979","licence":"Public domain","modified":"2026-10-24T20:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:28.587Z","epss":{"score":0.0026,"percentile":0.18977,"date":"2026-12-01T12:00:22.000Z"}}