Home / elysiajs / elysia / CVE-2025-66457
CVE-2025-66457: is it exploited, and which versions of elysiajs elysia are affected and fixed?
CVE-2025-66457 is a code injection (remote code execution) vulnerability in elysiajs elysia. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: elysia before 1.4.18 (GitHub advisory GHSA-8vch-m3f4-q8jf). Fixed in 1.4.18 (GitHub advisory GHSA-8vch-m3f4-q8jf). Severity: High (7.5, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-66457?
Elysia affected by arbitrary code injection through cookie config
Elysia is a Typescript framework for request validation, type inference, OpenAPI documentation and client-server communication. Versions 1.4.17 and below are subject to arbitrary code execution from cookie config. When dynamic cookies are enabled (e.g. there an existing cookie schema), the cookie config is injected into the compiled route without first being sanitised. Availability of this exploit is generally low, but when combined with GHSA-hxj9-33pp-j2cc, it allows for a full RCE chain. An attack requires write access to either the Elysia app's source code (in which case the vulnerability is meaningless) or write access to the cookie config (perhaps where it is assumed to be provisioned by the environment). This issue is fixed in version 1.4.18.
From the CVE record by GitHub_M, last updated December 12, 2025, 19:39 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| elysiajs | elysia | < 1.4.18 |
As the CVE record by GitHub_M states it, last updated December 12, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | elysia | < 1.4.18 | 1.4.18 | GHSA-8vch-m3f4-q8jf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 9, 2025. Summary: Elysia affected by arbitrary code injection through cookie config.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| elysiajs | elysia | before 1.4.18 | application |
NVD analysis (status Analyzed), last modified October 14, 2026, 21:10 UTC.
How severe is CVE-2025-66457?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-66457 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, December 12, 2025)
- EPSS
- 0.86% probability of exploitation activity in the next 30 days, percentile 59.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://github.com/elysiajs/elysia/security/advisories/GHSA-8vch-m3f4-q8jf x_refsource_CONFIRM
- https://github.com/elysiajs/elysia/security/advisories/GHSA-hxj9-33pp-j2cc x_refsource_MISC
- https://github.com/elysiajs/elysia/pull/1564 x_refsource_MISC
- https://github.com/elysiajs/elysia/commit/26935bf76ebc43b4a43d48b173fc853de43bb51e x_refsource_MISC
- https://github.com/elysiajs/elysia/commit/3af978663e437dccc6c1a2a3aff4b74e1574849e x_refsource_MISC
- https://github.com/sportshead/elysia-poc exploit
When was it published, and where is the official record?
- Reserved
- December 1, 2025
- Published
- December 9, 2025, 20:03 UTC
- CVE record updated
- December 12, 2025, 19:39 UTC by GitHub_M
- NVD
- Analyzed, last modified October 14, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect elysia?
- Jul 8, 2026CVE-2026-56669 elysiajs elysia: denial of service through slow algorithm
- Mar 18, 2026CVE-2026-31865 elysiajs elysia: prototype pollution
- Mar 10, 2026CVE-2026-30837 elysiajs elysia: regular expression denial of service (ReDoS)
- Dec 9, 2025CVE-2025-66456 elysiajs elysia: prototype pollution
Questions about CVE-2025-66457
Is CVE-2025-66457 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.86% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of elysiajs elysia are affected by CVE-2025-66457?
elysia before 1.4.18, per the GitHub advisory GHSA-8vch-m3f4-q8jf. The tables above give every range the sources list.
Which version fixes CVE-2025-66457?
1.4.18, per the GitHub advisory GHSA-8vch-m3f4-q8jf. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-66457?
High (7.5, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-66457?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.