CVE Explorer
CVE-2026-31865
Elysia is a Typescript framework for request validation, type inference, OpenAPI documentation, and client-server communication. Prior to version 1.4.27, an Elysia cookie can be overridden by prototype pollution , eg. `__proto__`. This issue is patched in 1.4.27. As a workaround, use t.Cookie validation to enforce validation value and/or prevent iterable over cookie if possible.
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.27"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:7557865adaec285e72a85a06cd6e2b742d2466185e815bb144d442841fc28175 · sha256:3cd890c3c84f0319… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:7557865adaec285e72a85a06cd6e2b742d2466185e815bb144d442841fc28175 · sha256:3cd890c3c84f0319… · /containers/cna/metrics/0/cvssV3_1
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:7557865adaec285e72a85a06cd6e2b742d2466185e815bb144d442841fc28175 · sha256:3cd890c3c84f0319… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/elysiajs/elysia/commit/e9d6b1743fa7368ef942dce181f6a089757f6aab","tags":["x_refsource_MISC"],"url":"https://github.com/elysiajs/elysia/commit/e9d6b1743fa7368ef942dce181f6a089757f6aab"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7557865adaec285e72a85a06cd6e2b742d2466185e815bb144d442841fc28175 · sha256:3cd890c3c84f0319… · /containers/cna/references/1
{"name":"https://github.com/elysiajs/elysia/security/advisories/GHSA-8hq9-phh3-p2wp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/elysiajs/elysia/security/advisories/GHSA-8hq9-phh3-p2wp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7557865adaec285e72a85a06cd6e2b742d2466185e815bb144d442841fc28175 · sha256:3cd890c3c84f0319… · /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.