{"answers":{"affected":"2 open source packages ship an affected version, including hono.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54289 exists.","fix":"Upgrade hono to 4.12.25 or later.","what":"CVE-2026-54289 is a medium-severity vulnerability in honojs hono, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-54289 and fix it if it is affected.\n\nWhat it is: CVE-2026-54289 is a medium-severity vulnerability in honojs hono, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54289 exists.\n\nAffected packages and fixed versions:\n- hono (npm): affected all versions; fixed in 4.12.25\n- hono (npm): affected all versions; fixed in 4.12.25\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54289/ (Markdown: https://insights.sbomify.com/CVE-2026-54289/index.md)","id":"CVE-2026-54289","markdown":"https://insights.sbomify.com/CVE-2026-54289/index.md","name":"CVE-2026-54289","record":{"aliases":["ECHO-d0c1-0187-7821","GHSA-wgpf-jwqj-8h8p","MINI-27rm-jq4x-vpqj","MINI-7627-xppq-r9r5","MINI-96hx-6pp7-fh57","MINI-c4c8-hjwq-4ccf","MINI-c4xv-qfgw-8xjq","MINI-j2cx-r843-f4f8","MINI-jjpj-9jvq-xj3r","MINI-p4w5-hp5r-gr3m","MINI-ppqg-mj4q-5p9g","MINI-q4qv-cqw5-c9w2","MINI-qgrv-m4ch-63rx","MINI-v693-h28g-qf77","ROOT-APP-NPM-CVE-2026-54289"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Hono web framework","requires_auth":"none","summary":"The Hono Lambda@Edge adapter truncates repeated request headers, potentially hiding IP chains and weakening access control decisions based on X-Forwarded-For.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-348","name":"Use of Less Trusted Source"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Hono: Lambda@Edge adapter keeps only the last value of a repeated request header, dropping the rest","id":"CVE-2026-54289","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Hono: CORS Middleware reflects any Origin with credentials when `origin` defaults to the wildcard","id":"CVE-2026-54290"},"packages":[{"ecosystem":"npm","fixed":["4.12.25"],"introduced":["0"],"last_affected":[],"package":"hono","purl":null,"source":"GHSA-wgpf-jwqj-8h8p"},{"ecosystem":"npm","fixed":["4.12.25"],"introduced":["0"],"last_affected":[],"package":"hono","purl":"pkg:npm/hono","source":"GHSA-wgpf-jwqj-8h8p"}],"prev":{"headline":"Hono: Body Limit Middleware can be bypassed on AWS Lambda by understating `Content-Length`","id":"CVE-2026-54288"},"products":["hono"],"published":"2026-06-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-22","vendors":["honojs"]},"summary":"The Hono Lambda@Edge adapter truncates repeated request headers, potentially hiding IP chains and weakening access control decisions based on X-Forwarded-For.","url":"https://insights.sbomify.com/CVE-2026-54289/"}