CVE Explorer
CVE-2025-66456
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"elysia","vendor":"elysiajs","versions":[{"status":"affected","version":">= 1.4.0, < 1.4.17"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:41ba08891d0110adc093c1e9fec4e6474c2b294e6b1ce59f537da738e8ee2e63 · sha256:7ff320f674011333… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":9.1,"baseSeverity":"CRITICAL","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:41ba08891d0110adc093c1e9fec4e6474c2b294e6b1ce59f537da738e8ee2e63 · sha256:7ff320f674011333… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-1321","description":"CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:41ba08891d0110adc093c1e9fec4e6474c2b294e6b1ce59f537da738e8ee2e63 · sha256:7ff320f674011333… · /containers/cna/problemTypes/0/descriptions/0
Source references
7 source assertions{"name":"https://github.com/elysiajs/elysia/commit/26935bf76ebc43b4a43d48b173fc853de43bb51e","tags":["x_refsource_MISC"],"url":"https://github.com/elysiajs/elysia/commit/26935bf76ebc43b4a43d48b173fc853de43bb51e"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:41ba08891d0110adc093c1e9fec4e6474c2b294e6b1ce59f537da738e8ee2e63 · sha256:7ff320f674011333… · /containers/cna/references/3
{"name":"https://github.com/elysiajs/elysia/commit/3af978663e437dccc6c1a2a3aff4b74e1574849e","tags":["x_refsource_MISC"],"url":"https://github.com/elysiajs/elysia/commit/3af978663e437dccc6c1a2a3aff4b74e1574849e"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:41ba08891d0110adc093c1e9fec4e6474c2b294e6b1ce59f537da738e8ee2e63 · sha256:7ff320f674011333… · /containers/cna/references/4
{"name":"https://github.com/elysiajs/elysia/pull/1564","tags":["x_refsource_MISC"],"url":"https://github.com/elysiajs/elysia/pull/1564"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:41ba08891d0110adc093c1e9fec4e6474c2b294e6b1ce59f537da738e8ee2e63 · sha256:7ff320f674011333… · /containers/cna/references/2
{"name":"https://github.com/elysiajs/elysia/security/advisories/GHSA-8vch-m3f4-q8jf","tags":["x_refsource_MISC"],"url":"https://github.com/elysiajs/elysia/security/advisories/GHSA-8vch-m3f4-q8jf"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:41ba08891d0110adc093c1e9fec4e6474c2b294e6b1ce59f537da738e8ee2e63 · sha256:7ff320f674011333… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/elysiajs/elysia/security/advisories/GHSA-8vch-m3f4-q8jf"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:41ba08891d0110adc093c1e9fec4e6474c2b294e6b1ce59f537da738e8ee2e63 · sha256:7ff320f674011333… · /containers/adp/0/references/1
{"tags":["exploit"],"url":"https://github.com/elysiajs/elysia/security/advisories/GHSA-hxj9-33pp-j2cc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:41ba08891d0110adc093c1e9fec4e6474c2b294e6b1ce59f537da738e8ee2e63 · sha256:7ff320f674011333… · /containers/adp/0/references/0
{"name":"https://github.com/elysiajs/elysia/security/advisories/GHSA-hxj9-33pp-j2cc","tags":["x_refsource_CONFIRM"],"url":"https://github.com/elysiajs/elysia/security/advisories/GHSA-hxj9-33pp-j2cc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:41ba08891d0110adc093c1e9fec4e6474c2b294e6b1ce59f537da738e8ee2e63 · sha256:7ff320f674011333… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.