CVE-2026-48022

Source
https://cve.org/CVERecord?id=CVE-2026-48022
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-48022.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-48022
Aliases
Downstream
Related
Published
2026-07-17T21:02:05.980Z
Modified
2026-07-19T03:47:15.759456137Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
Summary
@hapi/wreck: Sensitive credential headers leak across cross-port and cross-scheme redirects
Details

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

Database specific
{
    "cwe_ids": [
        "CWE-319",
        "CWE-346",
        "CWE-522"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48022.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/hapijs/wreck

Affected ranges

Type
GIT
Repo
https://github.com/hapijs/wreck
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "18.1.2"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v0.*
v0.0.1
v1.*
v1.0.0
v10.*
v10.0.0
v11.*
v11.0.0
v12.*
v12.0.0
v12.1.0
v12.2.0
v12.2.1
v12.2.2
v12.2.3
v12.3.0
v12.4.0
v12.5.0
v13.*
v13.0.0
v13.0.1
v13.0.3
v14.*
v14.0.0
v14.0.1
v14.0.2
v14.1.0
v14.1.2
v14.1.3
v14.1.4
v14.2.0
v15.*
v15.0.0
v15.0.1
v15.0.2
v15.1.0
v16.*
v16.0.0
v16.0.1
v17.*
v17.0.0
v17.1.0
v17.2.0
v18.*
v18.0.0
v18.0.1
v18.0.2
v18.1.0
v18.1.1
v2.*
v2.0.0
v2.1.0
v2.2.0
v2.3.0
v2.4.0
v2.5.0
v2.5.1
v2.5.2
v2.5.3
v2.5.4
v2.5.5
v3.*
v3.0.0
v4.*
v4.0.0
v5.*
v5.0.0
v5.0.1
v5.1.0
v5.2.0
v5.3.0
v5.4.0
v5.5.0
v5.5.1
v5.6.0
v5.6.1
v6.*
v6.0.0
v6.1.0
v6.2.0
v6.3.0
v7.*
v7.0.0
v7.0.1
v7.0.2
v7.1.0
v7.2.0
v7.2.1
v8.*
v8.0.0
v8.0.1
v9.*
v9.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-48022.json"