
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-69207 is a Regular Expression Denial of Service (ReDoS) vulnerability in the built-in CORS middleware (hono/cors) of the Hono web framework for Node.js/edge runtimes. The flaw affects all versions of the hono npm package prior to 4.12.34 and was published on August 3, 2026. It carries a CVSS v3.1 base score of 5.3 (Medium), reflecting a network-accessible, unauthenticated, low-complexity attack with availability impact only (GitHub Advisory, Hono Security Advisory).
The root cause is CWE-1333 (Inefficient Regular Expression Complexity): the CORS middleware used the regex requestHeaders.split(/\s*,\s*/) to parse the attacker-controlled Access-Control-Request-Headers header during CORS preflight (OPTIONS) requests. This whitespace-tolerant regex exhibits quadratic (O(n²)) backtracking when the header value contains a long sequence of whitespace characters without a comma delimiter, causing CPU consumption to grow disproportionately with input length (GitHub Advisory). The vulnerable code path is only triggered when allowHeaders is not configured (the default); applications that explicitly set a non-empty allowHeaders option bypass the affected parsing logic entirely. The fix replaced the regex-based split with a safe string split followed by a trim: requestHeaders.split(',').map((h) => h.trim()) (Hono Commit).
Exploitation results in a denial-of-service condition only — there is no confidentiality or integrity impact. A single crafted preflight request with a large whitespace-padded Access-Control-Request-Headers value can consume seconds of CPU time; on single-threaded runtimes (e.g., Deno, Bun, Cloudflare Workers), this blocks all concurrent request processing for the duration of the regex evaluation. Repeated requests from an unauthenticated attacker can render the service fully unresponsive, affecting all users of the application (GitHub Advisory, Hono Security Advisory).
hono < 4.12.34) that uses the cors() middleware without an explicit allowHeaders configuration — this is the default setup.OPTIONS request to any CORS-enabled endpoint on the target, setting the Access-Control-Request-Headers header to a value containing a very long whitespace sequence, e.g., 'x' + ' '.repeat(200000) + 'x'.curl, Python requests, or a custom script): curl -X OPTIONS https://target.example.com/api/endpoint -H 'Access-Control-Request-Headers: x ...x'OPTIONS requests to application endpoints from one or more source IPs; Access-Control-Request-Headers header values that are unusually large (kilobytes of whitespace) in HTTP access logs.OPTIONS requests with abnormally large header sizes; elevated request processing times or timeouts correlated with OPTIONS requests.OPTIONS preflight requests; event loop lag metrics spiking during periods of such requests.Upgrade the hono npm package to version 4.12.34 or later, which replaces the vulnerable regex-based header parsing with a safe split(',').map(h => h.trim()) approach (Hono Release v4.12.34, Hono Commit). As an immediate workaround without upgrading, explicitly configure a non-empty allowHeaders list in the cors() middleware options — this bypasses the vulnerable parsing path entirely. Additionally, consider enforcing a maximum HTTP header size limit at the reverse proxy or load balancer layer to reduce the maximum input size available to the attacker (Hono Security Advisory).
The advisory was published by Hono maintainer yusukebe on August 3, 2026, alongside three other security fixes in the same release (v4.12.34), covering cross-user data disclosure in hono/jsx, algorithmic DoS in hono/language, and a proxy header leak in hono/proxy. The release notes explicitly encouraged all users of the affected middleware to upgrade promptly (Hono Release v4.12.34). No significant broader media coverage or notable external researcher commentary has been identified beyond the official advisory.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."