CVE Explorer
CVE-2026-48022
@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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-346","description":"CWE-346: Origin Validation Error","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f374b24eb87628b8b9d63684b03973143b8f86bb207905bd5c4a93ad303970d · sha256:4963afae6f08e99d… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-522","description":"CWE-522: Insufficiently Protected Credentials","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f374b24eb87628b8b9d63684b03973143b8f86bb207905bd5c4a93ad303970d · sha256:4963afae6f08e99d… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-319","description":"CWE-319: Cleartext Transmission of Sensitive Information","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f374b24eb87628b8b9d63684b03973143b8f86bb207905bd5c4a93ad303970d · sha256:4963afae6f08e99d… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"wreck","vendor":"hapijs","versions":[{"status":"affected","version":"< 18.1.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:2f374b24eb87628b8b9d63684b03973143b8f86bb207905bd5c4a93ad303970d · sha256:4963afae6f08e99d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:2f374b24eb87628b8b9d63684b03973143b8f86bb207905bd5c4a93ad303970d · sha256:4963afae6f08e99d… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-346","description":"CWE-346: Origin Validation Error","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f374b24eb87628b8b9d63684b03973143b8f86bb207905bd5c4a93ad303970d · sha256:4963afae6f08e99d… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-522","description":"CWE-522: Insufficiently Protected Credentials","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f374b24eb87628b8b9d63684b03973143b8f86bb207905bd5c4a93ad303970d · sha256:4963afae6f08e99d… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-319","description":"CWE-319: Cleartext Transmission of Sensitive Information","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2f374b24eb87628b8b9d63684b03973143b8f86bb207905bd5c4a93ad303970d · sha256:4963afae6f08e99d… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/hapijs/wreck/commit/b93323b63ad3adb14d2b4019d77219182211641e","tags":["x_refsource_MISC"],"url":"https://github.com/hapijs/wreck/commit/b93323b63ad3adb14d2b4019d77219182211641e"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2f374b24eb87628b8b9d63684b03973143b8f86bb207905bd5c4a93ad303970d · sha256:4963afae6f08e99d… · /containers/cna/references/2
{"name":"https://github.com/hapijs/wreck/pull/313","tags":["x_refsource_MISC"],"url":"https://github.com/hapijs/wreck/pull/313"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2f374b24eb87628b8b9d63684b03973143b8f86bb207905bd5c4a93ad303970d · sha256:4963afae6f08e99d… · /containers/cna/references/1
{"name":"https://github.com/hapijs/wreck/releases/tag/v18.1.2","tags":["x_refsource_MISC"],"url":"https://github.com/hapijs/wreck/releases/tag/v18.1.2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2f374b24eb87628b8b9d63684b03973143b8f86bb207905bd5c4a93ad303970d · sha256:4963afae6f08e99d… · /containers/cna/references/3
{"name":"https://github.com/hapijs/wreck/security/advisories/GHSA-x426-x7cc-3fpc","tags":["x_refsource_CONFIRM"],"url":"https://github.com/hapijs/wreck/security/advisories/GHSA-x426-x7cc-3fpc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2f374b24eb87628b8b9d63684b03973143b8f86bb207905bd5c4a93ad303970d · sha256:4963afae6f08e99d… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.