NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-31865: Elysia Cookie Value Prototype Pollution

mediumCVSS 3.1 6.5GHSA-8hq9-phh3-p2wp

Impact Elysia cookie can be overridden by prototype pollution , eg. proto Sending cookie with the follows name can override cookie value: Patches Patched by 1.4.27 Workarounds 1. Use t.Cookie validation to enforce validation value 2. Prevent iterable over cookie if possible

Published Mar 17, 2026 · Updated Mar 22, 2026

Affected packages

elysia

Ecosystem
npm
Affected
< 1.4.27
Fixed in
1.4.27
Check
npm ls elysia

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

Elysia cookie can be overridden by prototype pollution , eg. __proto__

Sending cookie with the follows name can override cookie value:

__proto__=%7B%22injected%22%3A%22polluted%22%7D

Patches

Patched by 1.4.27

Workarounds

  1. Use t.Cookie validation to enforce validation value
  2. Prevent iterable over cookie if possible

Credited to ebadfd.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries