CVE-2026-56669
JSON

7.5high

Elysia: Inefficient Algorithmic Complexity and Interpretation Conflict

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.38% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-9643-4qgh-g8mx

Description

Elysia is a Typescript framework for request validation, type inference, OpenAPI documentation, and client-server communication. Prior to 1.4.29, Elysia uses getAll in form data normalization for multipart/form-data endpoints, causing the amount of work to grow quadratically with the number of unique key-value pairs and allowing CPU exhaustion. This issue is fixed in version 1.4.29.

Affected

Product or packageVersionsReported by
elysiajs elysia< 1.4.29CVE List
elysia (npm)before 1.4.29GitHub Advisory Database

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-407CWE-436

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Elysia is a Typescript framework for request validation, type inference, OpenAPI documentation, and client-server communication. Prior to 1.4.29, Elysia uses getAll in form data normalization for multipart/form-data endpoints, causing the amount of work to grow quadratically with the number of unique key-value pairs and allowing CPU exhaustion. This issue is fixed in version 1.4.29.

GitHub Advisory Database

Elysia v1.4.28 is vulnerable to denial-of-service attacks due to CPU exhaustion in the form data normalization code.

Elysia uses getAll to retrieve value from FormData. It is called directly relative to the total number of key-value pairs in the form data. The total amount of work the for loop has to do grows quadratically, so doubling the number of unique key-value pairs quadruples the amount of work. In the above PoC, each .getAll call scans through all of the n key-value pairs in the form data. Because there are n unique keys in the form data, there are .getAll calls, so in total the form data normalizer has to scan n x n key-value pairs.

Impact

Endpoints using multipart/form-data

Patches

1.4.29

Workarounds

no 100% confirm workaround beside updating the patch

NVD (es)

Elysia es un framework de Typescript para validación de solicitudes, inferencia de tipos, documentación OpenAPI y comunicación cliente-servidor. Antes de la versión 1.4.29, Elysia utiliza getAll en la normalización de datos de formulario para endpoints multipart/form-data, lo que provoca que la cantidad de trabajo crezca cuadráticamente con el número de pares clave-valor únicos y permite el agotamiento de la CPU. Este problema está solucionado en la versión 1.4.29.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-56669 changed 2026-07-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-9643-4qgh-g8mx changed 2026-09-23CC-BY-4.0
NVDCVE-2026-56669 changed 2026-10-25Public domain