{"id":"CVE-2026-48022","revision":"4d3dd96c5bfa423e8ade06049fa4d90d","records":[{"revision":"4d3dd96c5bfa423e8ade06049fa4d90d","observedAt":"2026-10-25T12:17:26.301+00:00","statement":{"source":"nvd","id":"CVE-2026-48022","aliases":[],"title":"@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 igno…","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-17T22:17:14.413+00:00","modifiedAt":"2026-10-24T20:10:00.137+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","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/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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-48022","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-319","CWE-346","CWE-522"],"productCriteria":[],"sourceDates":{"published":"2026-07-17T22:17:14.413","lastModified":"2026-10-24T20:10:00.137"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-48022","identifiers":["CVE-2026-48022"]},"retained":false,"historicalAffected":[]}],"coverage":[]}