{"answers":{"affected":"2 open source packages ship an affected version, including hono.","exploited":"There is no known exploitation of CVE-2026-54290 in the wild and no public exploit code.","fix":"Upgrade hono to 4.12.25 or later.","what":"CVE-2026-54290 is a high-severity vulnerability in honojs hono, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-54290 and fix it if it is affected.\n\nWhat it is: CVE-2026-54290 is a high-severity vulnerability in honojs hono, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-54290 in the wild and no public exploit code.\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-54290/ (Markdown: https://insights.sbomify.com/CVE-2026-54290/index.md)","id":"CVE-2026-54290","markdown":"https://insights.sbomify.com/CVE-2026-54290/index.md","name":"CVE-2026-54290","record":{"aliases":["ECHO-dd9a-5b55-e04b","GHSA-88fw-hqm2-52qc","MINI-26jm-m79r-mw4j","MINI-4cjp-p875-3fm6","MINI-5273-prf6-h7f2","MINI-59vq-vf5w-3rhx","MINI-5g6w-2mhp-9pw6","MINI-5vf5-fj78-823g","MINI-662f-gpqv-m2g4","MINI-78fj-9wq6-2g82","MINI-m6fg-64jv-f4f4","MINI-m6p7-c3xv-674c","MINI-mxm2-pwh7-43q4","MINI-p8qm-q4fq-vc3f","MINI-qqp3-7q5f-xppx","ROOT-APP-NPM-CVE-2026-54290"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Hono web framework","requires_auth":"none","summary":"The Hono CORS middleware incorrectly reflects any origin with credentials enabled, allowing attackers to read sensitive data from cookie-authenticated endpoints.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-942","name":"Permissive Cross-domain Security Policy with Untrusted Domains"}],"description":"Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.25, with credentials: true and no explicit origin (the default wildcard), the CORS Middleware reflects the request's Origin and sends Access-Control-Allow-Credentials: true. Any site can then make credentialed cross-origin requests and read the responses, exposing cookie-authenticated endpoints to arbitrary origins. 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":"none_known"},"has_fix":true,"headline":"Hono: CORS Middleware reflects any Origin with credentials when `origin` defaults to the wildcard","id":"CVE-2026-54290","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Silent channel-binding authentication downgrade via unsupported certificate algorithms","id":"CVE-2026-54291"},"packages":[{"ecosystem":"npm","fixed":["4.12.25"],"introduced":["0"],"last_affected":[],"package":"hono","purl":null,"source":"GHSA-88fw-hqm2-52qc"},{"ecosystem":"npm","fixed":["4.12.25"],"introduced":["0"],"last_affected":[],"package":"hono","purl":"pkg:npm/hono","source":"GHSA-88fw-hqm2-52qc"}],"prev":{"headline":"Hono: Lambda@Edge adapter keeps only the last value of a repeated request header, dropping the rest","id":"CVE-2026-54289"},"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-22","vendors":["honojs"]},"summary":"The Hono CORS middleware incorrectly reflects any origin with credentials enabled, allowing attackers to read sensitive data from cookie-authenticated endpoints.","url":"https://insights.sbomify.com/CVE-2026-54290/"}