CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-56669

CVE-2026-56669: Remote Denial of Service via Algorithmic Complexity and Interpretation Conflict in Elysia

Amit Schendel
Amit Schendel
Senior Security Researcher

Sep 23, 2026·6 min read·4 visits

Executive Summary (TL;DR)

A high-severity denial-of-service vulnerability in Elysia prior to v1.4.29 allows remote, unauthenticated attackers to freeze the server's single-threaded event loop. By using an interpretation conflict to bypass request-size filters, attackers can submit thousands of unique keys that trigger quadratic processing times during form-data normalization.

CVE-2026-56669 is a high-severity vulnerability in the Elysia web framework (ElysiaJS) that combines Inefficient Algorithmic Complexity (CWE-407) and an Interpretation Conflict (CWE-436). It allows remote, unauthenticated attackers to cause a complete Denial of Service (DoS) via CPU resource exhaustion using specially crafted multipart or urlencoded payloads.

Vulnerability Overview

Elysia is an ergonomic web framework designed primarily for the Bun runtime environment. When parsing incoming HTTP POST requests with structured payloads, Elysia normalizes form keys to resolve nested objects and array representations. This normalization mechanism is accessible to unauthenticated remote users on any endpoint that parses form data.

This vulnerability, tracked as CVE-2026-56669, involves a combination of algorithmic complexity mismatch and an HTTP header interpretation conflict. These weaknesses allow a remote attacker to force the server's process into a long-running CPU loop, blocking the runtime's single-threaded event loop and causing a complete denial of service.

The underlying cause is an algorithmic mismatch where the server-side runtime implements key validation in linear time while the framework iterates over keys sequentially. This combination yields quadratic execution time relative to the number of submitted parameters. An attacker can exploit this behavior with minimal network resources.

Root Cause Analysis

The root cause of this vulnerability lies in the combination of two security weaknesses. The first is Inefficient Algorithmic Complexity (CWE-407) in the form-data normalization process. The second is an Interpretation Conflict (CWE-436) in the handling of the HTTP Content-Type header.

During body parsing, Elysia iterates over keys returned by the form.keys() method. Within this iteration, the code invokes form.getAll(key) to extract the associated values. Standard JavaScript runtimes, including Bun and Node.js, implement standard FormData lookups as a linear scan over an internal sequential array, resulting in an O(N) complexity for each individual lookup.

Because the normalization loop executes N times and calls an O(N) function during each iteration, the total execution cost scales quadratically to O(N^2). A request containing 500,000 unique keys will require approximately 250 billion operations, blocking the main thread indefinitely.

To exploit this efficiently, an attacker uses an interpretation conflict. By setting the Content-Type header to multipart/form-data;(, application/x-www-form-urlencoded, Elysia recognizes the multipart/form-data substring and routes the request to its form-data parser. However, the underlying runtime's native parser rejects the malformed token and falls back to URL-encoded parsing, allowing the attacker to bundle half a million parameters into a compact body under 2 megabytes.

Code-Level Analysis

The vulnerability is located in the key normalization loops within src/dynamic-handle.ts and src/adapter/web-standard/index.ts. Below is a comparison of the vulnerable and patched code patterns.

// Vulnerable: Nested loop logic executing O(N^2) operations
body = {}
const form = await request.formData()
for (const key of form.keys()) {
    if (body[key]) continue
 
    // form.getAll(key) performs an O(N) linear scan over the internal array
    const value = form.getAll(key)
    const finalValue = normalizeFormValue(value)
 
    if (key.includes('.') || key.includes('['))
    // ... nested object handling ...
}

The fix modifies the normalization iteration logic by replacing the multiple $O(N)$ linear scans with a single-pass grouping operation.

// Patched: Linear O(N) grouping logic using Map
body = {}
const form = await request.formData()
const grouped = new Map<string, any[]>()
 
// Iterate exactly once over the form elements: O(N) complexity
form.forEach((v, k) => {
    const list = grouped.get(k)
    if (list) list.push(v)
    else grouped.set(k, [v])
})
 
// Iterate over unique Map entries in linear time
for (const [key, value] of grouped) {
    if (body[key]) continue
 
    const finalValue = normalizeFormValue(value)
 
    if (key.includes('.') || key.includes('['))
    // ... nested object handling ...
}

The patched version replaces the nested iteration with a single pass grouping phase using an ES6 Map. Key lookups and insertions within the Map occur in constant $O(1)$ time, reducing the total computation complexity to linear $O(N)$ and preventing CPU starvation.

Exploitation Methodology

Exploitation of this vulnerability requires only a single, well-crafted HTTP POST request containing a large volume of unique query keys. The exploit can be initiated with standard command-line tools.

The attacker crafts an HTTP request body containing 500,000 distinct URL-encoded key-value pairs separated by ampersands. The attacker then assigns a malformed Content-Type header: multipart/form-data;(, application/x-www-form-urlencoded. This ensures the request bypasses standard multipart boundary size checks while still invoking the vulnerable form-data normalization logic.

Once the Elysia server receives the request, the native parser populates the FormData interface in linear time. The framework then initiates its key normalization loop, which attempts to run 250 billion operations on the single thread. This locks the CPU core at 100% capacity and stalls all subsequent HTTP connections until the process is restarted.

Impact Assessment

The primary impact of CVE-2026-56669 is complete denial of service. Because the Bun and Node.js runtimes run on a single-threaded event loop, blocking the main thread prevents the server from processing any other incoming connections.

No administrative privileges or special configurations are required to execute this attack. Any public endpoint that accepts incoming form submissions can be used as an entry point for exploitation.

This vulnerability does not lead to remote code execution, unauthorized data modification, or information disclosure. The impact is limited entirely to service availability, with a CVSS v3.1 base score of 7.5.

Remediation & Mitigation

The recommended resolution is to upgrade the elysia dependency to version 1.4.29 or higher. This version updates the normalization logic to use the linear-time Map grouping mechanism.

# Upgrade Elysia using Bun package manager
bun add elysia@1.4.29

If patching is not immediately feasible, deploy a Web Application Firewall rule or reverse proxy rule to filter malformed Content-Type headers. Reject any request where the Content-Type header contains commas, parentheses, or multiple media type declarations.

Additionally, configure rate-limiting rules and enforce limits on the maximum allowed form keys or request body sizes. Restricting the maximum number of unique form parameters to a reasonable threshold (e.g., 1000 fields) prevents attackers from achieving the payload density required to exhaust CPU resources.

Official Patches

ElysiaJSFix quadratic form parsing using Map grouping

Fix Analysis (1)

Technical Appendix

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

Affected Systems

ElysiaJS web applications running on Bun or Node.js runtimes using versions prior to 1.4.29

Affected Versions Detail

Product
Affected Versions
Fixed Version
elysia
ElysiaJS
< 1.4.291.4.29
AttributeDetail
CWE IDCWE-407, CWE-436
Attack VectorNetwork (AV:N)
CVSS Score7.5 (High)
EPSS Score0.0063 (Percentile: 48.83%)
ImpactDenial of Service (DoS)
Exploit StatusProof of Concept (PoC) Public
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1499Endpoint Denial of Service
Impact
T1499.004Endpoint Denial of Service: Application Exhaustion Flood
Impact
T1190Exploit Public-Facing Application
Initial Access
CWE-407
Inefficient Algorithmic Complexity

The product of an algorithm has an inefficient complexity calculation, exposing the system to denial of service.

References & Sources

  • [1]Elysia Security Advisory GHSA-9643-4qgh-g8mx
  • [2]Official Fix Commit
  • [3]Elysia Release v1.4.29
  • [4]Original Exploit PoC Gist
  • [5]PoC Gist Raw Text

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 2 hours ago•CVE-2026-86065
7.5

CVE-2026-86065: Denial of Service via Resource Exhaustion in klever-go WebSocket Subscription Endpoint

Prior to version 1.7.20, the default-open WebSocket `/subscribe` endpoint in klever-go was vulnerable to remote resource exhaustion. Unauthenticated, remote attackers could crash validator and node processes by exploiting unbounded frame reads, uncapped concurrent connections, unrestricted memory allocation for subscription address keys, and a permanent memory leak in subscription map tracking on client disconnects.

Alon Barad
Alon Barad
6 views•7 min read
•about 3 hours ago•CVE-2026-82405
8.7

CVE-2026-82405: Incorrect Authorization leading to Account Takeover in klever-go

A critical incorrect authorization vulnerability (CWE-863) exists in the Go implementation of the Klever blockchain protocol (klever-go) prior to version 1.7.20. The vulnerability allows an attacker to completely replace a target account's permission set by manipulating the RecipientAddr parameter in a VM built-in function, leading to total account takeover.

Amit Schendel
Amit Schendel
7 views•5 min read
•about 5 hours ago•CVE-2026-63000
6.4

CVE-2026-63000: Cross-Site Request Forgery in REDAXO CMS Package Update API

A Cross-Site Request Forgery (CSRF) vulnerability in REDAXO CMS prior to version 5.21.2 allows unauthenticated remote attackers to trigger unauthorized package updates by exploiting an insecure default configuration in the base API class.

Amit Schendel
Amit Schendel
7 views•6 min read
•about 6 hours ago•CVE-2026-85724
9.6

CVE-2026-85724: Pattern-ACL Wildcard Injection & Cross-Tenant Authorization Bypass in Moquette MQTT Broker

CVE-2026-85724 is a critical vulnerability in the Moquette MQTT broker (versions prior to 0.18.1) where unvalidated substitution of client identifiers and usernames into pattern-based Access Control Lists (ACLs) permits remote authenticated attackers to bypass multi-tenant boundaries and trigger a Denial of Service.

Amit Schendel
Amit Schendel
5 views•7 min read
•about 7 hours ago•CVE-2026-88974
5.4

CVE-2026-88974: Incorrect Authorization in WPGraphQL updatePost Mutation

CVE-2026-88974 is an incorrect authorization vulnerability in the WPGraphQL plugin for WordPress. Due to a failure to perform object-level capability checks or validate status-transition requirements in the updatePost mutation handler, authenticated Contributor-level users can publish their own draft posts without editorial approval or modify their previously published posts.

Amit Schendel
Amit Schendel
9 views•7 min read
•about 8 hours ago•CVE-2026-73858
5.3

CVE-2026-73858: Server-Side Twig Template Injection in Solspace Freeform for Craft CMS

A technical analysis of CVE-2026-73858 / GHSA-gxrg-x694-283w, a server-side template injection vulnerability in the Solspace Freeform plugin for Craft CMS. The vulnerability permits unauthenticated users to trigger dynamic Twig evaluation of input fields during form validation re-rendering, causing local directory path disclosure and PHP runtime information exposure.

Alon Barad
Alon Barad
8 views•6 min read