PT-2025-49872 · Elysia · Elysia
Sportshead
·
Published
2025-12-09
·
Updated
2025-12-17
·
CVE-2025-66456
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Elysia versions 1.4.0 through 1.4.16
Description
Elysia is a Typescript framework used for request validation, type inference, OpenAPI documentation, and client-server communication. The
mergeDeep function is susceptible to a prototype pollution issue when merging results from two standard schema validations sharing the same key. This occurs due to the order of merging, requiring an 'any' type set as a standalone guard to allow merging of the proto property. Combined with GHSA-8vch-m3f4-q8jf, this can lead to remote code execution (RCE). The vulnerable component is the mergeDeep function. The proto property is involved in the exploitation.Recommendations
Update to Elysia version 1.4.17 or higher.
As a workaround, remove the
proto key from the request body.Exploit
Fix
RCE
Prototype Pollution
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Elysia