Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Hono: ReDoS in CORS middleware via Access-Control-Request-Headers (CVE-2026-69207)

0
Medium
Published: 08/03/2026 (08/03/2026, 20:23:30 UTC)
Source: GCVE Database
Product: hono

Description

A Regular Expression Denial of Service (ReDoS) vulnerability exists in the Hono framework's built-in CORS middleware (hono/cors) when using the default configuration. The middleware parses the Access-Control-Request-Headers header during CORS preflight OPTIONS requests using a regex with quadratic time complexity on input length. An attacker can send crafted preflight requests with long whitespace sequences to consume excessive CPU, causing service degradation or denial of service. This affects versions of Hono prior to 4.12.34. No authentication or special origin is required, and the issue only impacts availability without exposing or modifying data.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

npmghsa
hono
Affected versions
<4.12.34

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/03/2026, 21:23:51 UTC

Technical Analysis

The Hono CORS middleware (hono/cors) parses the Access-Control-Request-Headers header during preflight OPTIONS requests using a regular expression that exhibits quadratic time complexity (O(n²)) when processing long sequences of whitespace. This occurs when the allowHeaders option is unset or empty, which is the default configuration. An attacker can exploit this by sending a single preflight request with a long whitespace run in the header, causing significant CPU consumption and potentially stalling the service, especially on runtimes with single-threaded execution. This vulnerability leads to denial of service by resource exhaustion without requiring authentication or user interaction. Applications that explicitly set a non-empty allowHeaders value are not affected. The issue affects Hono versions prior to 4.12.34 and has a CVSS 3.1 score of 5.3 (medium severity). A patch is available.

Potential Impact

An unauthenticated attacker can cause denial of service by sending specially crafted CORS preflight requests with long whitespace sequences in the Access-Control-Request-Headers header. This triggers a regular expression with quadratic runtime, consuming excessive CPU and potentially making the service unresponsive. The vulnerability affects availability only; it does not compromise confidentiality or integrity of data.

Mitigation Recommendations

A patch is available for Hono versions prior to 4.12.34. Users should upgrade to version 4.12.34 or later to resolve this issue. Alternatively, configuring the CORS middleware with a non-empty allowHeaders option prevents the vulnerable code path from being executed. No other mitigation is required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-8j4g-w8fx-2239
Osv Schema Version
1.4.0
Aliases
["CVE-2026-69207"]
Ecosystems
["npm"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a710650bf32cb7a34392dc8

Added to database: 08/03/2026, 21:21:20 UTC

Last enriched: 08/03/2026, 21:23:51 UTC

Last updated: 08/03/2026, 21:23:51 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses