Skip to content

CVE-2026-31865 Elysia Cookie Value Prototype Pollution

MediumCVSS 5.3 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
elysiajs elysia < 1.4.27; = < 1.4.27 1.4.27 Fixed
npm elysia(npm) < 1.4.27 1.4.27 Fixed

Affected products

ProductAffected versionsFixed in
elysiajs elysia = < 1.4.27 No fix listed
npm elysia(npm) < 1.4.27 1.4.27
elysiajs elysia < 1.4.27 1.4.27

References