Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hono
  4. ›
  5. CVE-2026-54290

CVE-2026-54290: hono: CORS Middleware reflects any Origin with credentials when `origin` defaults to the wildcard

June 16, 2026

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.

References

  • github.com/advisories/GHSA-88fw-hqm2-52qc
  • github.com/honojs/hono/security/advisories/GHSA-88fw-hqm2-52qc
  • nvd.nist.gov/vuln/detail/CVE-2026-54290

Code Behaviors & Features

Detect and mitigate CVE-2026-54290 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.12.25

Fixed versions

  • 4.12.25

Solution

Upgrade to version 4.12.25 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-942: Permissive Cross-domain Policy with Untrusted Domains

Source file

npm/hono/CVE-2026-54290.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:35 +0000.