parse-server
Affected
- introduced
9.0.0, fixed9.7.0-alpha.11(semver)
Fixed versions
9.7.0-alpha.11
Fix
- Fixed version
9.7.0-alpha.11npm install [email protected]
Advisory
Also known as: BIT-parse-2026-34532, CVE-2026-34532
parse-server has cloud function validator bypass via prototype chain traversal
Impact
An attacker can bypass Cloud Function validator access controls by appending .prototype.constructor to the function name in the URL. When a Cloud Function handler is declared using the function keyword and its validator is a plain object or arrow function, the trigger store traversal resolves the handler through its own prototype chain while the validator store fails to mirror this traversal, causing all access control enforcement to be skipped.
This allows unauthenticated callers to invoke Cloud Functions that are meant to be protected by validators such as requireUser, requireMaster, or custom validation logic.
Patches
The trigger store traversal now verifies that each intermediate node is a legitimate store object before continuing traversal. If the traversal encounters a non-store value such as a function handler, it stops and returns an empty store, preventing prototype chain escape.
Workarounds
Use arrow functions instead of the function keyword for Cloud Function handlers. Arrow functions do not have a prototype property and are not affected by this vulnerability.
Resources
Critical Basis: The source's own band: CRITICAL
9.0.0, fixed 9.7.0-alpha.11 (semver)9.7.0-alpha.11
9.7.0-alpha.11npm install [email protected]0, fixed 8.6.67 (semver)8.6.67
8.6.67npm 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