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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| elysiajs elysia | < 1.4.27; = < 1.4.27 | 1.4.27 | Fixed |
| npm elysia(npm) | < 1.4.27 | 1.4.27 | Fixed |
Affected products
| Product | Affected versions | Fixed 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
- https://github.com/elysiajs/elysia/security/advisories/GHSA-8hq9-phh3-p2wp mitigation patch vendor-advisory
- https://github.com/elysiajs/elysia/commit/e9d6b1743fa7368ef942dce181f6a089757f6aab patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product