{"id":"CVE-2026-31865","published":"2026-03-18T02:50:55Z","modified":"2026-03-18T18:39:09Z","title":"Elysia Cookie Value Prototype Pollution","vendor":"elysiajs","product":"elysia","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00396,"percentile":0.25342,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/elysiajs/elysia/security/advisories/GHSA-8hq9-phh3-p2wp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/elysiajs/elysia/commit/e9d6b1743fa7368ef942dce181f6a089757f6aab","tags":["x_refsource_MISC"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":5.07},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"elysiajs","affectedVersions":[{"vendor":"elysiajs","product":"elysia","versions":["< 1.4.27"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-18T18:36:47.933361Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"elysia","vulnerableRanges":["<1.4.27"],"patched":["1.4.27"],"from":["GHSA-8hq9-phh3-p2wp"],"provenance":"source"}],"summary":{"text":"Elysia, the TypeScript web framework from elysiajs, contains a prototype pollution flaw in its cookie handling that affects versions before 1.4.27. An unauthenticated remote attacker who can send crafted requests to an affected server can use cookie names such as __proto__ to alter object prototype attributes, with no user interaction or special configuration needed and a low-complexity attack that can compromise confidentiality and integrity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:10Z"},"euvd":{"id":"EUVD-2026-12749","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-66456","published":"2025-12-09","fixed":"1.4.17","kev":false},{"cve":"CVE-2025-66457","published":"2025-12-09","fixed":"1.4.18","kev":false},{"cve":"CVE-2026-30837","published":"2026-03-10","fixed":"1.4.26","kev":false,"link":{"from":"CVE-2026-30837","to":"CVE-2026-31865","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:elysia","fromFixed":"1.4.26","toFixed":"1.4.27","daysApart":8}]}},{"cve":"CVE-2026-31865","published":"2026-03-18","fixed":"1.4.27","kev":false},{"cve":"CVE-2026-56669","published":"2026-07-08","fixed":"1.4.29","kev":false,"link":{"from":"CVE-2026-31865","to":"CVE-2026-56669","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:elysia","fromFixed":"1.4.27","toFixed":"1.4.29","daysApart":112}]}}],"package":"npm:elysia"}}