GitHub Advisoryadvisory · npm
GHSA-r2m8-pxm9-9c4g Parse Server has a protected fields bypass via dot-notation in query and sort
HIGH
Official page ↗
- Aliases
- CVE-2026-31872
- Ecosystem
- npm
- Packages
- parse-server
- Severity
- High
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- Weaknesses
- CWE-284
- Reviewed
- 2026-03-11
Affected packages
• npm parse-server: >= 9.0.0-alpha.1, < 9.6.0-alpha.6 → fixed in 9.6.0-alpha.6
• npm parse-server: < 8.6.32 → fixed in 8.6.32
Description
Impact
The `protectedFields` class-level permission (CLP) can be bypassed using dot-notation in query WHERE clauses and sort parameters. An attacker can use dot-notation to query or sort by sub-fields of a protected field, enabling a binary oracle attack to enumerate protected field values.
This affects both MongoDB and PostgreSQL deployments.
Patches
The fix ensures that query WHERE clause keys and sort keys are checked against protected fields by extracting the root field from dot-notation paths. For example, a query on `secretObj.apiKey` is now correctly blocked when `secretObj` is a protected field.
Workarounds
None.
References
• GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-r2m8-pxm9-9c4g
• Fix Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.6
• Fix Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.32
Related
Alias · CVE (1)
- CVE-2026-31872 Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. vulnerability
Weakness · CWE (1)
- CWE-284 Improper Access Control weakness
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-r2m8-pxm9-9c4g web
- https://nvd.nist.gov/vuln/detail/CVE-2026-31872 advisory
- https://github.com/parse-community/parse-server package
- https://github.com/parse-community/parse-server/releases/tag/8.6.32 web
- https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.6 web