Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @hapi/wreck
  4. ›
  5. CVE-2026-44979

CVE-2026-44979: @hapi/wreck leaks sensitive `Proxy-Authorization` header across cross-hostname redirects

May 27, 2026

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: ... }).

References

  • github.com/advisories/GHSA-vhjm-w67q-g75c
  • github.com/hapijs/wreck/commit/a5b6fac9c684621c1d5733d10a0257697cfea373
  • github.com/hapijs/wreck/security/advisories/GHSA-vhjm-w67q-g75c
  • github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3
  • nvd.nist.gov/vuln/detail/CVE-2026-44979

Code Behaviors & Features

Detect and mitigate CVE-2026-44979 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 18.1.1

Fixed versions

  • 18.1.1

Solution

Upgrade to version 18.1.1 or above.

Impact 4 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-522: Insufficiently Protected Credentials

Source file

npm/@hapi/wreck/CVE-2026-44979.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:51 +0000.