{"id":"CVE-2026-23527","aliases":["CVE-2026-23527","GHSA-mp2g-9vg9-f4cg"],"related":[],"kind":"vulnerability","state":"published","title":"h3 v1 has Request Smuggling (TE.TE) issue","summary":"H3 is a minimal H(TTP) framework built for high performance and portability. Prior to 1.15.5, there is a critical HTTP Request Smuggling vulnerability. readRawBody is doing a strict case-sensitive check for the Transfer-Encoding header. It explicitly looks for \"chunked\", but per the RFC, this header should be case-insensitive. This vulnerability is fixed in 1.15.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"H3 is a minimal H(TTP) framework built for high performance and portability. Prior to 1.15.5, there is a critical HTTP Request Smuggling vulnerability. readRawBody is doing a strict case-sensitive check for the Transfer-Encoding header. It explicitly looks for \"chunked\", but per the RFC, this header should be case-insensitive. This vulnerability is fixed in 1.15.5.","source":"cvelist"},{"lang":"en","text":"I was digging into h3 v1 (specifically v1.15.4) and found a critical HTTP Request Smuggling vulnerability.\n\nBasically, `readRawBody` is doing a strict case-sensitive check for the Transfer-Encoding header. It explicitly looks for \"chunked\", but per the RFC, this header should be case-insensitive.\n\n**The Bug**: If I send a request with Transfer-Encoding: ChuNked (mixed case), h3 misses it. Since it doesn't see \"chunked\" and there's no Content-Length, it assumes the body is empty and processes the request immediately.\n\nThis leaves the actual body sitting on the socket, which triggers a classic TE.TE Desync (Request Smuggling) if the app is running behind a Layer 4 proxy or anything that doesn't normalize headers (like AWS NLB or Node proxies).\n\n**Vulnerable Code** (`src/utils/body.ts`):\n\n```js\nif (\n    !Number.parseInt(event.node.req.headers[\"content-length\"] || \"\") &&\n    !String(event.node.req.headers[\"transfer-encoding\"] ?? \"\")\n      .split(\",\")\n      .map((e) => e.trim())\n      .filter(Boolean)\n      .includes(\"chunked\") // <--- This is the issue. \"ChuNkEd\" returns false here.\n  ) {\n    return Promise.resolve(undefined);\n  }\n```\n\nI verified this locally:\n\n- Sent a `Transfer-Encoding: ChunKed` request without a closing 0 chunk.\n- Express hangs (correctly waiting for data).\n- h3 responds immediately (vulnerable, thinks body is length 0).\n\n**Impact**: Since H3/Nuxt/Nitro is often used in containerized setups behind TCP load balancers, an attacker can use this to smuggle requests past WAFs or desynchronize the socket to poison other users' connections.\n\n**Fix**: Just need to normalize the header value before checking: ` .map((e) => e.trim().toLowerCase())`","format":"markdown","source":"ghsa"},{"lang":"es","text":"H3 es un framework H(TTP) mínimo diseñado para alto rendimiento y portabilidad. Antes de 1.15.5, existe una vulnerabilidad crítica de contrabando de solicitudes HTTP. readRawBody realiza una comprobación estricta sensible a mayúsculas y minúsculas para el encabezado Transfer-Encoding. Busca explícitamente 'chunked', pero según la RFC, este encabezado debería ser insensible a mayúsculas y minúsculas. Esta vulnerabilidad está corregida en 1.15.5.","source":"nvd"}],"published":"2026-01-15T19:24:20.514Z","modified":"2026-06-17T10:21:43.847Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L","score":8.9,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L","score":8.9,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L","score":8.9,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-444"],"affected":[{"ranges":[{"version":"< 1.15.5","status":"affected"}],"vendor":"h3js","product":"h3","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.15.5"}],"ecosystem":"npm","package":"h3","purl":"pkg:npm/h3","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.15.5"}],"vendor":"h3","product":"h3","cpe":"cpe:2.3:a:h3:h3:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/h3js/h3/security/advisories/GHSA-mp2g-9vg9-f4cg","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/h3js/h3/commit/618ccf4f37b8b6148bea7f36040471af45bfb097","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/h3js/h3/releases/tag/v1.15.5","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://simonkoeck.com/writeups/h3-transfer-encoding-request-smuggling","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23527","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/h3js/h3","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-01-15T19:59:57.020Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23527","url":"https://www.cve.org/CVERecord?id=CVE-2026-23527","licence":"CVE Terms of Use","modified":"2026-04-13T16:48:19.873Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mp2g-9vg9-f4cg","url":"https://github.com/advisories/GHSA-mp2g-9vg9-f4cg","licence":"CC-BY-4.0","modified":"2026-04-13T17:15:15.108Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23527","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23527","licence":"Public domain","modified":"2026-06-17T10:21:43.847Z"}],"updatedAt":"2026-11-25T22:59:12.862Z","epss":{"score":0.00626,"percentile":0.51354,"date":"2026-12-01T12:00:22.000Z"}}