{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-48022","published":"2026-07-17T22:17:14.413000Z","last_modified":"2026-10-24T20:10:00.137000Z","status":"Deferred","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-319","CWE-346","CWE-522"],"cpes":[],"cpes_truncated":false,"vendors":["hapijs"],"products":["hapijs/wreck"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-x426-x7cc-3fpc","ecosystem":"npm","name":"@hapi/wreck","purl":"pkg:npm/%40hapi/wreck","ranges":[{"introduced":"0","fixed":"18.1.2"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2026-48022/","html_en":"/en/cve/CVE-2026-48022/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-48022","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-48022"},"untrusted":{"vendor_name":"hapijs","product_name":"wreck","desc_en":"@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.","affected":[{"untrusted_vendor":"hapijs","untrusted_product":"wreck","versions":[]}],"references":[{"url":"https://github.com/hapijs/wreck/commit/b93323b63ad3adb14d2b4019d77219182211641e","tags":[]},{"url":"https://github.com/hapijs/wreck/pull/313","tags":[]},{"url":"https://github.com/hapijs/wreck/releases/tag/v18.1.2","tags":[]},{"url":"https://github.com/hapijs/wreck/security/advisories/GHSA-x426-x7cc-3fpc","tags":[]}]}}