Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-48022 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-319Cleartext Transmission of Sensitive Information[email protected]
CWE-346Origin Validation Error[email protected]
CWE-522Insufficiently Protected Credentials[email protected]

Affected Products

ProductVersions
@hapi/wreck
< 18.1.2 (semver)

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • Upgrade: >= 18.1.2moderate effort
  • Workaround:low effort

    Set `redirects: 0` (default) and handle redirects manually with a strict origin check.

  • Workaround:low effort

    Use the `beforeRedirect` hook to inspect the redirect target and abort or strip sensitive headers before the follow-on request.

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-48022
NVD Published Date:
Jul 17, 2026
NVD Last Modified:
Jul 23, 2026
Source:
[email protected]
CVE-2026-48022 Details - Not Deferred