CVE-2026-56669: elysia has Inefficient Algorithmic Complexity and Interpretation Conflict
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.
Published Sep 23, 2026
Affected packages
elysia
- Ecosystem
- npm
- Affected
- < 1.4.29
- Fixed in
- 1.4.29
- Check
npm ls elysia
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
Credited to jviide.
References
- https://github.com/elysiajs/elysia/security/advisories/GHSA-9643-4qgh-g8mx
- https://nvd.nist.gov/vuln/detail/CVE-2026-56669
- https://github.com/elysiajs/elysia/commit/8358ff9efbcedf9534995f5977f26b9ceab59329
- https://gist.github.com/jviide/ea040eabe7bac058326174e2cd42dfd9
- https://github.com/elysiajs/elysia/releases/tag/1.4.29
- https://github.com/advisories/GHSA-9643-4qgh-g8mx
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-31865
Elysia Cookie Value Prototype Pollution
medium6.5Mar 17, 2026CVE-2026-30837
Elysia has a string URL format ReDoS
high7.5Mar 10, 2026CVE-2025-66456
Elysia vulnerable to prototype pollution with multiple standalone schema validation
critical9.1Dec 9, 2025CVE-2025-66457
Elysia affected by arbitrary code injection through cookie config
high7.5Dec 9, 2025
