{"id":"CVE-2026-54289","published":"2026-06-22T17:16:58Z","modified":"2026-06-22T18:19:34Z","title":"Hono: Lambda@Edge adapter keeps only the last value of a repeated request header, dropping the rest","vendor":"honojs","product":"hono","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00178,"percentile":0.04381,"provenance":"source"},"cwes":[{"id":"CWE-348","name":"Use of Less Trusted Source"}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-wgpf-jwqj-8h8p","tags":["x_refsource_CONFIRM"]}],"priority":{"score":4.2,"factors":[{"name":"EPSS percentile","points":0.88},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"honojs","affectedVersions":[{"vendor":"honojs","product":"hono","versions":["< 4.12.25"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-22T18:19:24.735156Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"hono","vulnerableRanges":["<4.12.25"],"patched":["4.12.25"],"from":["GHSA-wgpf-jwqj-8h8p"],"provenance":"source"}],"summary":{"text":"The Hono web framework's AWS Lambda@Edge adapter, prior to 4.12.25, overwrites repeated request headers (such as X-Forwarded-For, Forwarded, and Via) so that only the last value reaches the application, discarding the rest of the chain. An unauthenticated remote attacker can exploit this over the network with no user interaction, by sending requests with repeated headers that cause access-control or auditing logic relying on the full header chain to receive a truncated or altered value.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:55Z"},"euvd":{"id":"EUVD-2026-38330","exploited":false,"provenance":"source"}}