parse-server
Affected
- introduced
9.0.0-alpha.1, fixed9.5.2-alpha.8(semver)
Fixed versions
9.5.2-alpha.8
Fix
- Fixed version
9.5.2-alpha.8npm install [email protected]
Advisory
Also known as: BIT-parse-2026-30965, CVE-2026-30965
Parse Server vulnerable to session token exfiltration via redirectClassNameForKey query parameter
Impact
A vulnerability in Parse Server's query handling allows an authenticated or unauthenticated attacker to exfiltrate session tokens of other users by exploiting the redirectClassNameForKey query parameter. Exfiltrated session tokens can be used to take over user accounts.
The vulnerability requires the attacker to be able to create or update an object with a new relation field, which depends on the Class-Level Permissions of at least one class.
Patches
The fix applies the same security checks that normally protect class access after the query redirect, ensuring that queries redirected via redirectClassNameForKey are subject to the same restrictions as direct queries to the target class.
Workarounds
Set restrictive Class-Level Permissions to prevent clients from creating new fields on classes, specifically by disabling addField for public access and unauthenticated users. Note that this limits client functionality and does not fully eliminate the risk if a relation field pointing to a protected class already exists in the schema.
References
Critical Basis: The source's own band: CRITICAL
9.0.0-alpha.1, fixed 9.5.2-alpha.8 (semver)9.5.2-alpha.8
9.5.2-alpha.8npm install [email protected]0, fixed 8.6.21 (semver)8.6.21
8.6.21npm 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