Parse Server has a SQL Injection via dot-notation sub-key name in `Increment` operation on PostgreSQL
Description
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.6.0-alpha.5 and 8.6.31, 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. This vulnerability is fixed in 9.6.0-alpha.5 and 8.6.31.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
parse-servernpm | >= 9.0.0-alpha.1, < 9.6.0-alpha.5 | 9.6.0-alpha.5 |
parse-servernpm | < 8.6.31 | 8.6.31 |
Affected products
3- osv-coords2 versions
< 8.6.31+ 1 more
- (no CPE)range: < 8.6.31
- (no CPE)range: >= 9.0.0-alpha.1, < 9.6.0-alpha.5
- Range: >= 9.0.0 < 9.6.0-alpha.5
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-gqpp-xgvh-9h7hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-31871ghsaADVISORY
- github.com/parse-community/parse-server/releases/tag/8.6.31ghsax_refsource_MISCWEB
- github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.5ghsax_refsource_MISCWEB
- github.com/parse-community/parse-server/security/advisories/GHSA-gqpp-xgvh-9h7hghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.