parse-server
Affected
- introduced
9.0.0, fixed9.6.0-alpha.17(semver)
Fixed versions
9.6.0-alpha.17
Fix
- Fixed version
9.6.0-alpha.17npm install [email protected]
Advisory
Also known as: BIT-parse-2026-32742, CVE-2026-32742
Parse Server session creation endpoint allows overwriting server-generated session fields
Impact
An authenticated user can overwrite server-generated session fields (sessionToken, expiresAt, createdWith) when creating a session object via POST /classes/_Session. This allows bypassing the server's session expiration policy by setting an arbitrary far-future expiration date. It also allows setting a predictable session token value.
Patches
The session creation endpoint now filters out server-generated fields from user-supplied data, preventing them from being overwritten.
Workarounds
Add a beforeSave trigger on the _Session class to validate and reject or strip any user-supplied values for sessionToken, expiresAt, and createdWith.
Medium Basis: The source's own band: MODERATE
9.0.0, fixed 9.6.0-alpha.17 (semver)9.6.0-alpha.17
9.6.0-alpha.17npm install [email protected]0, fixed 8.6.42 (semver)8.6.42
8.6.42npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0