{"id":"CVE-2026-48022","revision":"1e475482fcfc426982650c1e2db41a7d","records":[{"revision":"1e475482fcfc426982650c1e2db41a7d","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-48022","aliases":[],"title":"@hapi/wreck: Sensitive credential headers leak across cross-port and cross-scheme redirects","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.","state":0,"publishedAt":"2026-07-17T21:02:05.98+00:00","modifiedAt":"2026-07-20T19:10:59.345+00:00","affected":[{"ecosystem":"Vendor product","name":"wreck","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"hapijs\",\n                    \"product\": \"wreck\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 18.1.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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,"severity":"MEDIUM"}],"references":["https://github.com/hapijs/wreck/security/advisories/GHSA-x426-x7cc-3fpc","https://github.com/hapijs/wreck/pull/313","https://github.com/hapijs/wreck/commit/b93323b63ad3adb14d2b4019d77219182211641e","https://github.com/hapijs/wreck/releases/tag/v18.1.2"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-48022","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-48022","identifiers":["CVE-2026-48022"]},"retained":false,"historicalAffected":[]}],"coverage":[]}