# CVE-2026-48022: @hapi/wreck: Sensitive credential headers leak across cross-port and cross-scheme redirects

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-17 · Modified: 2026-07-20
- Aliases: CGA-355p-5g7p-c79h, CGA-5v94-j5qj-c28w, CGA-5w9f-mqf3-vvh6, CGA-cwr8-r393-96v5, CGA-f2m8-2q7f-g9vx, CGA-h52m-2gpw-6x3c, CGA-vfr3-f3ph-8q2c, CGA-xgxc-xh3g-m8ch, GHSA-x426-x7cc-3fpc, CGA-28c4-j2cx-cc7f, CGA-2hwx-hg6q-f9g8, CGA-336x-54vr-mcrp, CGA-33c7-558r-29wf, CGA-3hmw-5gvf-8p6r, CGA-452g-9qcg-rhmh, CGA-46r8-qf4g-m294, CGA-4jc6-459c-5mxx, CGA-4rpq-88f9-pcqr, CGA-4vj4-8498-fghf, CGA-53mv-rmx3-hcmc, CGA-7gxj-mvpq-2c97, CGA-7hmq-66p9-j5qj, CGA-8hrw-9x95-hxwx, CGA-9rvh-5p93-63cq, CGA-g6h6-jm6g-xpwq, CGA-h322-x74p-8vp8, CGA-h338-qj7c-ff8v, CGA-hcg7-r9fp-gff8, CGA-hh9q-9986-fgv9, CGA-jrjm-w37q-735g, CGA-jvmc-q268-ff3c, CGA-m55c-39fw-p6rv, CGA-m5wj-4934-3hw3, CGA-p89x-chv2-9vp3, CGA-pgp7-6frw-hh9c, CGA-pvq4-f533-5pqv, CGA-pwcj-fqh5-629r, CGA-q55r-2j9j-2rcr, CGA-q9jj-jc64-gmx9, CGA-rc63-3j9q-jx4f, CGA-rjfx-2rx4-9phq, CGA-rr83-xhjj-x33c, CGA-rvwr-rp7g-hq39, CGA-v434-ccmq-j4fj, CGA-wm6g-vf4h-wvww, CGA-ww49-4v7j-fhwm, CGA-x4hh-m48p-vgx4
- Record: https://cvemate.com/vulnerability/CVE-2026-48022 · JSON: https://cvemate.com/vulnerability/CVE-2026-48022/json

## Description

```text
@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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- EPSS: 0.121%, percentile 2.098%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 21)

- chainguard kibana-7 (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.3 (Chainguard): \< 9.3.5-r3
- chainguard kibana-9.3-iamguarded (Chainguard): \< 9.3.5-r3
- chainguard kibana-9.4 (Chainguard): \< 9.4.2-r3
- chainguard kibana-9.4-iamguarded (Chainguard): \< 9.4.2-r3
- chainguard opensearch-dashboards-2 (Chainguard): All versions (No fix recorded) \| \< 2.19.7-r0
- chainguard opensearch-dashboards-2-fips (Chainguard): All versions (No fix recorded) \| \< 2.19.7-r0
- chainguard opensearch-dashboards-2-fips-security-dashboards-plugin (Chainguard): All versions (No fix recorded) \| \< 2.19.7-r0
- chainguard opensearch-dashboards-2-security-dashboards-plugin (Chainguard): All versions (No fix recorded) \| \< 2.19.7-r0
- chainguard opensearch-dashboards-3 (Chainguard): \< 3.7.0-r0 \| \< 3.8.0-r0
- chainguard opensearch-dashboards-3-fips (Chainguard): \< 3.7.0-r0 \| \< 3.7.0-r2
- chainguard opensearch-dashboards-3-fips-security-dashboards-plugin (Chainguard): \< 3.7.0-r0
- chainguard opensearch-dashboards-3-security-dashboards-plugin (Chainguard): \< 3.7.0-r0
- chainguard wazuh-dashboard (Chainguard): All versions (No fix recorded)
- chainguard wazuh-dashboard-fips (Chainguard): All versions (No fix recorded)
- chainguard wazuh-dashboard-security-plugin (Chainguard): All versions (No fix recorded)
- chainguard wazuh-dashboard-security-plugin-fips (Chainguard): All versions (No fix recorded)
- wolfi opensearch-dashboards-3 (Wolfi): \< 3.7.0-r0 \| \< 3.8.0-r0
- wolfi opensearch-dashboards-3-security-dashboards-plugin (Wolfi): \< 3.7.0-r0
- hapijs wreck: \< 18.1.2

## 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>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48022.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48022>
- <https://github.com/hapijs/wreck>

---

Data as of 2026-12-05T07:08:58.878Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
