UNKNOWN npm

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

GHSA-f6j3-w9v3-cq22 · BIT-parse-2026-34574 · CVE-2026-34574

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes