GitHub Advisoryadvisory · npm

GHSA-f6j3-w9v3-cq22 Parse Server has a session field immutability bypass via falsy-value guard

MEDIUM Published 2026-04-01 Modified 2026-04-01 Official page ↗
Aliases
CVE-2026-34574
Ecosystem
npm
Packages
parse-server
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Weaknesses
CWE-697
Reviewed
2026-04-01

Affected packages

• npm parse-server: >= 9.0.0, < 9.7.0-alpha.14 → fixed in 9.7.0-alpha.14 • npm parse-server: < 8.6.69 → fixed in 8.6.69

Description

Impact An authenticated user can bypass the immutability guard on session fields (`expiresAt`, `createdWith`) by sending a null value in a PUT request to the session update endpoint. This allows nullifying the session expiry, making the session valid indefinitely and bypassing configured session length policies. Patches The truthiness-based guard checks were replaced with key-presence checks that reject any value for protected session fields, including null. Workarounds There is no known workaround. A `beforeSave` trigger on `_Session` could be used to reject null values for `expiresAt` and `createdWith`.

Related

Alias · CVE (1)

  • CVE-2026-34574 Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. vulnerability

Weakness · CWE (1)

  • CWE-697 Incorrect Comparison weakness

References