# CVE-2025-66456: Elysia vulnerable to prototype pollution with multiple standalone schema validation

- Severity: Critical 9.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2025-12-09T17:11:53.000Z
- Modified: 2026-10-14T21:10:00.183Z
- Also known as: GHSA-hxj9-33pp-j2cc
- Related: CVE-2025-66457
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- elysiajs elysia: >= 1.4.0, < 1.4.17; from 1.4.0 before 1.4.17
- elysia (npm): from 1.4.0 before 1.4.17

## Every score

- GitHub_M: CVSS:4.0 9.1 Critical `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`
- GitHub: CVSS:4.0 Critical `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/elysiajs/elysia/security/advisories/GHSA-hxj9-33pp-j2cc> (exploit, patch, vendor-advisory, web)
- <https://github.com/elysiajs/elysia/security/advisories/GHSA-8vch-m3f4-q8jf> (exploit, not-applicable, web)
- <https://github.com/sportshead/elysia-poc> (exploit, web)
- <https://github.com/elysiajs/elysia/pull/1564> (issue-tracking, patch, web)
- <https://github.com/elysiajs/elysia/commit/26935bf76ebc43b4a43d48b173fc853de43bb51e> (patch, web)
- <https://github.com/elysiajs/elysia/commit/3af978663e437dccc6c1a2a3aff4b74e1574849e> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66456> (advisory)
- <https://github.com/elysiajs/elysia> (package)

## Sources

- CVE List: [CVE-2025-66456](https://www.cve.org/CVERecord?id=CVE-2025-66456), CVE Terms of Use, modified 2025-12-09
- GitHub Advisory Database: [GHSA-hxj9-33pp-j2cc](https://github.com/advisories/GHSA-hxj9-33pp-j2cc), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-66456](https://nvd.nist.gov/vuln/detail/CVE-2025-66456), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-66456 · Whole record: https://cve.day/CVE-2025-66456.json · Rebuilt by cve.day 2026-11-25T22:59:09.113Z
