CVE-2025-66456 json
Elysia vulnerable to prototype pollution with multiple standalone schema validation
published 2025-12-09 11 mo ago modified 2026-10-14 25 d ago also GHSA-hxj9-33pp-j2cc , EUVD-2025-202180
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm elysia 1.4.17
- elysiajs elysia 1.4.17
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 11 mo ago
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/elysiajs/elysia/security/advisories/GHSA-hxj9-33pp-j2cc referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/elysiajs/elysia/security/advisories/GHSA-8vch-m3f4-q8jf referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.1 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 9.1 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | elysia | >=1.4.0, <1.4.17 |
1.4.17 |
Affected products
- elysiajs elysia
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/elysiajs/elysia/pull/1564
web, issue-tracking, patch
-
github.com
/elysiajs/elysia/commit/26935bf76ebc43b4a43d48b173fc853de43bb51e
web, patch
-
github.com
/elysiajs/elysia/commit/3af978663e437dccc6c1a2a3aff4b74e1574849e
web, patch
-
github.com
/elysiajs/elysia/security/advisories/GHSA-hxj9-33pp-j2cc
exploit, web, patch, vendor-advisory
-
github.com
/elysiajs/elysia/security/advisories/GHSA-8vch-m3f4-q8jf
exploit, web, not-applicable
-
nvd.nist.gov
/vuln/detail/CVE-2025-66456
advisory
-
github.com
/elysiajs/elysia
package
-
github.com
/sportshead/elysia-poc
web
Sources
- CVE List CVE-2025-66456
- GitHub Advisory GHSA-hxj9-33pp-j2cc
- NVD CVE-2025-66456
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.