CVE-2026-32742: Parse Server Session Creation Endpoint Vulnerability
Summary
CVE-2026-32742: Parse Server session creation endpoint allows overwriting server-generated session fields. Affects parse across 2 version ranges.
< 8.6.42
>= 9.0.0, < 9.6.0
Fixed in 8.6.42 or 9.6.0, depending on the release line you run. How to fix ↓
Also tracked for
- parse-server · npm
The same CVE-2026-32742 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Parse Server is an open-source backend platform that enables developers to build applications using Node.js. It provides a robust framework for managing data, user authentication, and real-time functionalities. However, prior to versions 9.6.0 and 8.6.42, it was vulnerable to a security issue where authenticated users could manipulate server-generated session fields, potentially compromising session integrity.
Vulnerability Detail
The vulnerability allows authenticated users to overwrite critical server-generated session fields such as 'sessionToken', 'expiresAt', and 'createdWith' when creating a session object via the POST /classes/_Session endpoint. This manipulation can lead to bypassing the server's session expiration policy, allowing users to set arbitrary expiration dates and predictable session tokens, which poses a significant security risk.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
< 8.6.428.6.42 -
>= 9.0.0, < 9.6.09.6.0
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
As a temporary workaround, implement a 'beforeSave' trigger on the '_Session' class to validate and reject or strip any user-supplied values for 'sessionToken', 'expiresAt', and 'createdWith'. Here is an example of how to implement this trigger:
Parse.Cloud.beforeSave('_Session', (request) => {
const session = request.object;
if (session.get('sessionToken') || session.get('expiresAt') || session.get('createdWith')) {
throw new Parse.Error(Parse.Error.INVALID_VALUE, 'Overwriting server-generated fields is not allowed.');
}
});
Conclusion
CVE-2026-32742 is a significant vulnerability in Parse Server that can lead to serious security issues if not addressed. It is crucial to update to the latest versions or implement the recommended workaround to safeguard your application.
See every vulnerability recorded for parse →
FAQ
CVE-2026-32742 is a vulnerability in Parse Server that allows authenticated users to overwrite server-generated session fields, compromising session security.
Versions prior to 9.6.0 and 8.6.42 are affected by this vulnerability.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
The vulnerability can lead to session hijacking, allowing attackers to set arbitrary expiration dates and predictable session tokens, which can compromise user accounts.
If an immediate update is not possible, implement the 'beforeSave' trigger as a temporary workaround to prevent overwriting of server-generated fields.
References
Related vulnerabilities
Recent vulnerabilities recorded for parse.