{
  "cvss": 6.5,
  "datePublished": "2026-07-17T22:17:14.413",
  "dateUpdated": "2026-10-24T20:10:00.137",
  "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.",
  "id": "CVE-2026-48022",
  "raw": {
    "affected": [
      {
        "affectedData": [
          {
            "product": "wreck",
            "vendor": "hapijs",
            "versions": [
              {
                "status": "affected",
                "version": "< 18.1.2"
              }
            ]
          }
        ],
        "source": "security-advisories@github.com"
      }
    ],
    "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."
      }
    ],
    "id": "CVE-2026-48022",
    "lastModified": "2026-10-24T20:10:00.137",
    "metrics": {
      "cvssMetricV31": [
        {
          "cvssData": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 3.6,
          "source": "security-advisories@github.com",
          "type": "Secondary"
        }
      ],
      "ssvcV203": [
        {
          "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "ssvcData": {
            "id": "CVE-2026-48022",
            "options": [
              {
                "exploitation": "none"
              },
              {
                "automatable": "no"
              },
              {
                "technicalImpact": "partial"
              }
            ],
            "role": "CISA Coordinator",
            "timestamp": "2026-07-20T18:51:51.976139Z",
            "version": "2.0.3"
          }
        }
      ]
    },
    "published": "2026-07-17T22:17:14.413",
    "references": [
      {
        "source": "security-advisories@github.com",
        "url": "https://github.com/hapijs/wreck/commit/b93323b63ad3adb14d2b4019d77219182211641e"
      },
      {
        "source": "security-advisories@github.com",
        "url": "https://github.com/hapijs/wreck/pull/313"
      },
      {
        "source": "security-advisories@github.com",
        "url": "https://github.com/hapijs/wreck/releases/tag/v18.1.2"
      },
      {
        "source": "security-advisories@github.com",
        "url": "https://github.com/hapijs/wreck/security/advisories/GHSA-x426-x7cc-3fpc"
      }
    ],
    "sourceIdentifier": "security-advisories@github.com",
    "vulnStatus": "Deferred",
    "weaknesses": [
      {
        "description": [
          {
            "lang": "en",
            "value": "CWE-319"
          },
          {
            "lang": "en",
            "value": "CWE-346"
          },
          {
            "lang": "en",
            "value": "CWE-522"
          }
        ],
        "source": "security-advisories@github.com",
        "type": "Secondary"
      }
    ]
  },
  "severity": "MEDIUM",
  "source": "nvd",
  "title": "@hapi/wreck is an HTTP client utility"
}