CVE-2026-48022
Full vulnerability record from the local CVENow database.
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.
Severity
MEDIUM
CVSS score
6.5
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-17 22:17:14.413000
Last modified
2026-10-24 20:10:00.137000
View original CVE JSON
{
"id": "CVE-2026-48022",
"sourceIdentifier": "[email protected]",
"published": "2026-07-17T22:17:14.413",
"lastModified": "2026-10-24T20:10:00.137",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "@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."
},
{
"lang": "es",
"value": "@hapi/wreck es una utilidad de cliente HTTP. Antes de la versión 18.1.2, Wreck elimina los encabezados de credenciales, incluyendo Autorización, Cookie y Proxy-Authorization, antes de seguir una redirección de origen cruzado, pero la verificación de origen compara solo los nombres de host e ignora el esquema y el puerto, por lo que las credenciales se reenvían intactas a través de cambios de puerto en el mismo host y degradaciones de HTTPS a HTTP, permitiendo a un co-inquilino en un puerto adyacente o a un atacante en posición de red capaz de falsificar una redirección capturar tokens de portador, cookies de sesión y credenciales de proxy, y suplantar a la víctima contra el servicio ascendente. Este problema está solucionado en la versión 18.1.2."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "hapijs",
"product": "wreck",
"versions": [
{
"version": "< 18.1.2",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.8,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-20T18:51:51.976139Z",
"id": "CVE-2026-48022",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-319"
},
{
"lang": "en",
"value": "CWE-346"
},
{
"lang": "en",
"value": "CWE-522"
}
]
}
],
"references": [
{
"url": "https://github.com/hapijs/wreck/commit/b93323b63ad3adb14d2b4019d77219182211641e",
"source": "[email protected]"
},
{
"url": "https://github.com/hapijs/wreck/pull/313",
"source": "[email protected]"
},
{
"url": "https://github.com/hapijs/wreck/releases/tag/v18.1.2",
"source": "[email protected]"
},
{
"url": "https://github.com/hapijs/wreck/security/advisories/GHSA-x426-x7cc-3fpc",
"source": "[email protected]"
}
]
}