Live threats

All CVEs / Elysiajs

CVE-2025-66456Elysiajs Elysia

Critical 9.1 No auth needed

Priority
70
CVSS 4.0
9.1
EPSS
—
Auth required
No
Published
Dec 9, 2025
Updated
Oct 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1321
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Elysia.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm elysia ≥ 1.4.0 < 1.4.17 1.4.17 npm install elysia@1.4.17

Per OSV / GitHub Advisories (GHSA-hxj9-33pp-j2cc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
elysiajselysia≥ 1.4.0 < 1.4.17

Official sources

References

Links published by the sources. Open them with care.