CVE-2026-31871: Parse Server vulnerable to SQL Injection via dot-notation sub-key name in `Increment` operation on PostgreSQL
A SQL injection vulnerability exists in the PostgreSQL storage adapter when processing Increment operations on nested object fields using dot notation (e.g., stats.counter). The sub-key name is interpolated directly into SQL string literals without escaping. An attacker who can send write requests to the Parse Server REST API can inject arbitrary SQL via a crafted sub-key name containing single quotes, potentially executing commands or reading data from the database, bypassing CLPs and ACLs.
Only Postgres deployments are affected.
References
- github.com/advisories/GHSA-gqpp-xgvh-9h7h
- github.com/parse-community/parse-server
- github.com/parse-community/parse-server/releases/tag/8.6.31
- github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.5
- github.com/parse-community/parse-server/security/advisories/GHSA-gqpp-xgvh-9h7h
- nvd.nist.gov/vuln/detail/CVE-2026-31871
Code Behaviors & Features
Detect and mitigate CVE-2026-31871 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →