CVE-2026-31856: Parse Server vulnerable to SQL injection via `Increment` operation on nested object field in 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 amount value is interpolated directly into the SQL query without parameterization or type validation. An attacker who can send write requests to the Parse Server REST API can inject arbitrary SQL subqueries to read any data from the database, bypassing CLPs and ACLs.
MongoDB deployments are not affected.
References
- github.com/advisories/GHSA-q3vj-96h2-gwvg
- github.com/parse-community/parse-server
- github.com/parse-community/parse-server/releases/tag/8.6.29
- github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.3
- github.com/parse-community/parse-server/security/advisories/GHSA-q3vj-96h2-gwvg
- nvd.nist.gov/vuln/detail/CVE-2026-31856
Code Behaviors & Features
Detect and mitigate CVE-2026-31856 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 →