What’s Vulnerable › Vulnerabilities

CVE-2026-31865: Elysia Cookie Value Prototype Pollution

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.

Affected products

How to fix

Upgrade to a fixed version: elysiajs elysia 1.4.27. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-31865 or the next vulnerability affects your stack