{"id":"CVE-2026-54289","aliases":["CVE-2026-54289","GHSA-wgpf-jwqj-8h8p"],"related":[],"kind":"vulnerability","state":"published","title":"Hono: Lambda@Edge adapter keeps only the last value of a repeated request header, dropping the rest","summary":"Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.25, on AWS Lambda@Edge, CloudFront delivers a request header that appears more than once as several separate entries. The adapter writes each value with Headers.set instead of Headers.append, so every value overwrites the previous one and only the last reaches the application. Repeated request headers such as X-Forwarded-For, Forwarded, and Via are silently truncated to a single value. Request middleware sees only the last value of a repeated header instead of the full chain. For applications that base access control on the X-Forwarded-For chain, this can weaken or alter that decision; for auditing, hop history is lost. This vulnerability is fixed in 4.12.25.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.25, on AWS Lambda@Edge, CloudFront delivers a request header that appears more than once as several separate entries. The adapter writes each value with Headers.set instead of Headers.append, so every value overwrites the previous one and only the last reaches the application. Repeated request headers such as X-Forwarded-For, Forwarded, and Via are silently truncated to a single value. Request middleware sees only the last value of a repeated header instead of the full chain. For applications that base access control on the X-Forwarded-For chain, this can weaken or alter that decision; for auditing, hop history is lost. This vulnerability is fixed in 4.12.25.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nOn AWS Lambda@Edge, CloudFront delivers a request header that appears more than once as several separate entries. The adapter writes each value with `Headers.set` instead of `Headers.append`, so every value overwrites the previous one and only the last reaches the application. Repeated request headers such as `X-Forwarded-For`, `Forwarded`, and `Via` are silently truncated to a single value.\n\n### Details\n\nA repeated request header carries an ordered list of values. The adapter iterates the list but overwrites on each step, keeping only the final value. Middleware that depends on the full list — for example IP restriction that walks the `X-Forwarded-For` chain, or auditing based on `Forwarded`/`Via` hops — receives incomplete data. The API Gateway adapter already appends repeated values and is not affected.\n\nThis issue arises only on Lambda@Edge deployments, for requests that contain the same header more than once.\n\n### Impact\n\nRequest middleware sees only the last value of a repeated header instead of the full chain. For applications that base access control on the `X-Forwarded-For` chain, this can weaken or alter that decision; for auditing, hop history is lost. This affects applications deployed on AWS Lambda@Edge that rely on multi-value request headers.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Hono es un framework de aplicación web que proporciona soporte para cualquier entorno de ejecución de JavaScript. Antes de la versión 4.12.25, en AWS Lambda@Edge, CloudFront entrega una cabecera de solicitud que aparece más de una vez como varias entradas separadas. El adaptador escribe cada valor con Headers.set en lugar de Headers.append, por lo que cada valor sobrescribe el anterior y solo el último llega a la aplicación. Las cabeceras de solicitud repetidas como X-Forwarded-For, Forwarded y Via se truncan silenciosamente a un único valor. El middleware de solicitud ve solo el último valor de una cabecera repetida en lugar de la cadena completa. Para las aplicaciones que basan el control de acceso en la cadena X-Forwarded-For, esto puede debilitar o alterar esa decisión; para la auditoría, se pierde el historial de saltos. Esta vulnerabilidad se corrige en la versión 4.12.25.","source":"nvd"}],"published":"2026-06-16T14:32:31.000Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-348"],"affected":[{"ranges":[{"version":"< 4.12.25","status":"affected"}],"vendor":"honojs","product":"hono","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.12.25"}],"ecosystem":"npm","package":"hono","purl":"pkg:npm/hono","source":"ghsa"}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-wgpf-jwqj-8h8p","tags":["exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54289","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/honojs/hono","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-22T18:19:24.735Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54289","url":"https://www.cve.org/CVERecord?id=CVE-2026-54289","licence":"CVE Terms of Use","modified":"2026-06-22T18:19:34.502Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wgpf-jwqj-8h8p","url":"https://github.com/advisories/GHSA-wgpf-jwqj-8h8p","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:50.847Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54289","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54289","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"}],"updatedAt":"2026-11-25T22:59:25.399Z","epss":{"score":0.00114,"percentile":0.01639,"date":"2026-12-01T12:00:22.000Z"}}