CVE-2026-48022 json
@hapi/wreck: Sensitive credential headers leak across cross-port and cross-scheme redirects
published 5mo ago modified 18d ago also EUVD-2026-45340 , GHSA-x426-x7cc-3fpc
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 7%
- public exploits
- 0
- none known
Summary
@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.
Patch / fix
- npm @hapi/wreck 18.1.2
- github.com/hapijs/wreck@b93323b commit
- github.com/hapijs/wreck#313 pull request
- github.com/hapijs/wreck/releases/tag/v18.1.2 release
Is CVE-2026-48022 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-48022 updated cvss 6.5
@hapi/wreck: @hapi/wreck: Information disclosure via incomplete origin check during redirects
-
Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-ui-rhel8 Red Hat OpenShift Dev Spaces devspaces/dashboard-rhel9affected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3mo ago
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @hapi/wreck | <18.1.2 |
18.1.2 |
Affected products
- hapijs wreck
Classification
References
Sources
- CVE List CVE-2026-48022
- GitHub Advisory GHSA-x426-x7cc-3fpc
- NVD CVE-2026-48022
- Maintainer advisory GHSA-x426-x7cc-3fpc
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of hapijs/wreck published their own advisory on GitHub. Reviewed sources take precedence over it.