Bug 2501969 (CVE-2026-48022) - CVE-2026-48022 @hapi/wreck: @hapi/wreck: Information disclosure via incomplete origin check during redirects
Summary: CVE-2026-48022 @hapi/wreck: @hapi/wreck: Information disclosure via incomplet...
Keywords:
Status: NEW
Alias: CVE-2026-48022
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-17 22:03 UTC by OSIDB Bzimport
Modified: 2026-11-04 11:10 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-17 22:03:24 UTC
@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.


Note You need to log in before you can comment on or make changes to this bug.