PT-2026-48685

CVE-2026-48022

·

Published

2026-06-11

·

Updated

2026-07-20

Description by

CVSS 3.1
6.5
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions @hapi/wreck versions prior to 18.1.2
Description This HTTP client utility fails to properly validate origins during cross-origin redirects. While it strips credential headers such as Authorization, Cookie, and Proxy-Authorization, the origin check only compares hostnames and ignores the scheme and port. Consequently, credentials are forwarded during same-host port changes and HTTPS-to-HTTP downgrades. This allows 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 to impersonate the victim against the upstream service.
Recommendations Update to version 18.1.2 or later. Set redirects: 0 and handle redirects manually with a strict origin check. Use the beforeRedirect hook to inspect the redirect target and abort or strip sensitive headers before the follow-on request.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-X426-X7CC-3FPC
Found an issue in the description? Have something to add? Feel free to write us 👾