CVE-2025-66456 Details
Description
Elysia is a Typescript framework for request validation, type inference, OpenAPI documentation and client-server communication. Versions 1.4.0 through 1.4.16 contain a prototype pollution vulnerability in `mergeDeep` after merging results of two standard schema validations with the same key. Due to the ordering of merging, there must be an any type that is set as a standalone guard, to allow for the `__proto__ prop` to be merged. When combined with GHSA-8vch-m3f4-q8jf this allows for a full RCE by an attacker. This issue is fixed in version 1.4.17. To workaround, remove the `__proto__ key` from body.
A prototype pollution vulnerability has been identified in the Elysia framework, specifically in versions 1.4.0 prior to 1.4.17. The issue arises in the 'mergeDeep' function, where the results of two standard schema validations with the same key are merged. This merging process can be manipulated to include the '__proto__' property, allowing for prototype pollution. When this vulnerability is combined with an arbitrary code execution flaw from cookie configuration, it creates a critical security risk, enabling remote code execution by an attacker.
Users can update to Elysia version 1.4.17 or later, where this vulnerability has been patched. For those unable to update, a temporary workaround is to remove the '__proto__' key from the request body before it is processed by the Elysia application.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/elysiajs/elysia/security/advisories/GHSA-8vch-m3f4-q8jf | CISA-ADP | Not Applicable |
| https://github.com/elysiajs/elysia/security/advisories/GHSA-hxj9-33pp-j2cc | CISA-ADP | ExploitPatchVendor Advisory |
| https://github.com/elysiajs/elysia/commit/26935bf76ebc43b4a43d48b173fc853de43bb51e | [email protected] | Patch |
| https://github.com/elysiajs/elysia/commit/3af978663e437dccc6c1a2a3aff4b74e1574849e | [email protected] | Patch |
| https://github.com/elysiajs/elysia/pull/1564 | [email protected] | Issue TrackingPatch |
| https://github.com/elysiajs/elysia/security/advisories/GHSA-8vch-m3f4-q8jf | [email protected] | Not Applicable |
| https://github.com/elysiajs/elysia/security/advisories/GHSA-hxj9-33pp-j2cc | [email protected] | ExploitPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| elysiajs elysia | >= 1.4.0, < 1.4.17 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 17, 2025 | Initial Analysis | [email protected] |
| Dec 9, 2025 | CVE Modified | CISA-ADP |
| Dec 9, 2025 | New CVE Received | [email protected] |