Live threats

All CVEs / Elysiajs

CVE-2026-31865Elysiajs Elysia

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Mar 18, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1321
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Elysia.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm elysia < 1.4.27 1.4.27 npm install elysia@1.4.27

Per OSV / GitHub Advisories (GHSA-8hq9-phh3-p2wp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
elysiajselysia< 1.4.27

Official sources

References

Links published by the sources. Open them with care.