{"id":"CVE-2026-54290","aliases":["CVE-2026-54290","GHSA-88fw-hqm2-52qc"],"related":[],"kind":"vulnerability","state":"published","title":"Hono: CORS Middleware reflects any Origin with credentials when `origin` defaults to the wildcard","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nWith `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.\n\n### Details\n\nThe spec forbids `Access-Control-Allow-Origin: *` with credentials and browsers reject it, so this configuration used to fail closed. In affected versions the middleware reflects the request `Origin` instead, so it now succeeds for every origin, including `null`. The preflight also echoes the requested headers back, approving non-simple credentialed requests too.\n\nThis issue arises when an application enables `credentials: true` and leaves `origin` unset or set to the wildcard.\n\n### Impact\n\nAny third-party page a logged-in user visits can read the application's cookie-authenticated endpoints and perform credentialed state-changing requests. This affects applications that enable credentialed CORS without restricting `origin`.","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, con credentials: true y sin un origen explícito (el comodín predeterminado), el Middleware CORS refleja el Origin de la solicitud y envía Access-Control-Allow-Credentials: true. Cualquier sitio puede entonces realizar solicitudes de origen cruzado con credenciales y leer las respuestas, exponiendo puntos finales autenticados por cookie a orígenes arbitrarios. Esta vulnerabilidad se corrige en la versión 4.12.25.","source":"nvd"}],"published":"2026-06-16T14:15:39.000Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"}],"cwes":["CWE-942"],"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-88fw-hqm2-52qc","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54290","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/honojs/hono","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-22T17:26:00.514Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54290","url":"https://www.cve.org/CVERecord?id=CVE-2026-54290","licence":"CVE Terms of Use","modified":"2026-06-22T17:26:12.791Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-88fw-hqm2-52qc","url":"https://github.com/advisories/GHSA-88fw-hqm2-52qc","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:48.939Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54290","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54290","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"}],"updatedAt":"2026-11-25T22:59:25.399Z","epss":{"score":0.00262,"percentile":0.19268,"date":"2026-12-01T12:00:22.000Z"}}