CVE-2026-31840 Parse Server has a SQL injection via dot-notation field name 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. Prior to 9.6.0-alpha.2 and 8.6.28, an attacker can use a dot-notation field name in combination with the sort query parameter to inject SQL into the PostgreSQL database through an improper escaping of sub-field values in dot-notation queries. The vulnerability may also affect queries that use dot-notation field names with the distinct and where query parameters. This vulnerability only affects deployments using a PostgreSQL database. This vulnerability is fixed in 9.6.0-alpha.2 and 8.6.28.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm parse-server(npm) | < 8.6.28; >= 9.0.0, < 9.6.0-alpha.2 | 8.6.28, 9.6.0-alpha.2 | Fixed |
| parseplatform parse-server | < 8.6.28; = 9.6.0-alpha1; >= 9.0.0, < 9.6.0 | 8.6.28, 9.6.0 | Fixed |
| parse-community parse-server | = < 8.6.28; = >= 9.0.0 < 9.6.0-alpha.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| parse-community parse-server | = >= 9.0.0 < 9.6.0-alpha.2 | No fix listed |
| parse-community parse-server | = < 8.6.28 | No fix listed |
| npm parse-server(npm) | >= 9.0.0, < 9.6.0-alpha.2 | 9.6.0-alpha.2 |
| npm parse-server(npm) | < 8.6.28 | 8.6.28 |
| parseplatform parse-server | < 8.6.28 | 8.6.28 |
| parseplatform parse-server | >= 9.0.0, < 9.6.0 | 9.6.0 |
| parseplatform parse-server | = 9.6.0-alpha1 | No fix listed |
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-qpr4-jrj4-6f27 patch vendor-advisory
- https://github.com/parse-community/parse-server/releases/tag/8.6.28 product release-notes
- https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.2 product release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product