CVE-2026-48022
Last modified
CVE-2026-48022 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. @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. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| hapijs | wreck | < 18.1.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-48022?
How severe is CVE-2026-48022?
How do I fix CVE-2026-48022?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-48015Shopware is an open commerce platform. Prior to 6.6.10.18 an…4.9
- CVE-2026-48016Shopware is an open commerce platform. Prior to 6.6.10.18 an…4.3
- CVE-2026-48017DbGate is cross-platform database manager. In versions 7.1.8…8.8
- CVE-2026-4802A flaw was found in Cockpit. This vulnerability allows a rem…8
- CVE-2026-48020Traefik is an HTTP reverse proxy and load balancer. Prior to…10
- CVE-2026-48021In epa4all, prior to version 2026-05-20, an attacker who can…9.1
- CVE-2026-48025nebula-mesh is a self-hosted control plane for Slack Nebula …6.9
- CVE-2026-48026lakeFS is an open-source tool that transforms object storage…8.7
- CVE-2026-48027Nx Console is the user interface for Nx & Lerna. On 19 May 2…9.8
- CVE-2026-48028Mastodon is a free, open-source social network server based …6.5
- CVE-2026-48029libheif is a HEIF and AVIF file format decoder and encoder. …7.1
- CVE-2026-4803The Royal Elementor Addons plugin for WordPress is vulnerabl…7.2
Are you affected by CVE-2026-48022?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
