GHSA-f6j3-w9v3-cq22

Parse Server has a session field immutability bypass via falsy-value guard

At a glance

Published
Updated
CVE
CVE-2026-34574
Aliases
BIT-parse-2026-34574
CVSS_V4
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

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`.

Affected packages

PackageVersions
npm · parse-serverintroduced 9.0.0, fixed 9.7.0-alpha.14
npm · parse-serverintroduced 0, fixed 8.6.69

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database