{"cve":"CVE-2026-48022","nvd":{"published":"2026-07-17T22:17:14.413","modified":"2026-10-24T20:10:00.137","status":"Deferred","description":"@hapi/wreck is an HTTP client utility. Prior to 18.1.2, Wreck strips credential headers including Authorization, Cookie, and Proxy-Authorization before following a cross-origin redirect, but the origin check compares hostnames only and ignores scheme and port, so credentials are forwarded intact across same-host port changes and HTTPS-to-HTTP downgrades, allowing a co-tenant on an adjacent port or a network-position attacker capable of forging a redirect to capture bearer tokens, session cookies, and proxy credentials and impersonate the victim against the upstream service. This issue is fixed in version 18.1.2.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-319","CWE-346","CWE-522"],"references":["https://github.com/hapijs/wreck/commit/b93323b63ad3adb14d2b4019d77219182211641e","https://github.com/hapijs/wreck/pull/313","https://github.com/hapijs/wreck/releases/tag/v18.1.2","https://github.com/hapijs/wreck/security/advisories/GHSA-x426-x7cc-3fpc"],"products":[],"source":"nvd","synced_at":"2026-10-25T17:50:08.599881581+00:00"},"epss":{"cve":"CVE-2026-48022","score":0.00176,"percentile":0.07074,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-x426-x7cc-3fpc","url":"https://osv.dev/vulnerability/GHSA-x426-x7cc-3fpc","summary":"@hapi/wreck: Sensitive credential headers leak across cross-port and cross-scheme redirects","modified":"2026-09-10T03:50:51.210459476Z","packages":[{"ecosystem":"npm","name":"@hapi/wreck","purl":"pkg:npm/%40hapi/wreck","ranges":["<18.1.2"],"fixed":["18.1.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}