CVE-2026-31856 Parse Server has a SQL injection via `Increment` operation on nested object field in PostgreSQL
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
Description
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. 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. This vulnerability is fixed in 9.6.0-alpha.3 and 8.6.29.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm parse-server(npm) | < 8.6.29; >= 9.0.0-alpha.1, < 9.6.0-alpha.3 | 8.6.29, 9.6.0-alpha.3 | Fixed |
| parseplatform parse-server | < 8.6.29; = 9.6.0-alpha1; = 9.6.0-alpha2; >= 9.0.0, < 9.6.0 | 8.6.29, 9.6.0 | Fixed |
| parse-community parse-server | = < 8.6.29; = >= 9.0.0 < 9.6.0-alpha.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| parse-community parse-server | = >= 9.0.0 < 9.6.0-alpha.3 | No fix listed |
| parse-community parse-server | = < 8.6.29 | No fix listed |
| npm parse-server(npm) | >= 9.0.0-alpha.1, < 9.6.0-alpha.3 | 9.6.0-alpha.3 |
| npm parse-server(npm) | < 8.6.29 | 8.6.29 |
| parseplatform parse-server | < 8.6.29 | 8.6.29 |
| parseplatform parse-server | >= 9.0.0, < 9.6.0 | 9.6.0 |
| parseplatform parse-server | = 9.6.0-alpha1 | No fix listed |
| parseplatform parse-server | = 9.6.0-alpha2 | No fix listed |
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-q3vj-96h2-gwvg patch vendor-advisory
- https://github.com/parse-community/parse-server/releases/tag/8.6.29 product release-notes
- https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.3 product release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product