Skip to content

CVE-2026-31871 Parse Server has a SQL Injection via dot-notation sub-key name in `Increment` operation on PostgreSQL

CriticalCVSS 9.3 EPSS 0.48%
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.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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
npm parse-server(npm) < 8.6.31; >= 9.0.0-alpha.1, < 9.6.0-alpha.5 8.6.31, 9.6.0-alpha.5 Fixed
parseplatform parse-server < 8.6.31; = 9.6.0-alpha1; = 9.6.0-alpha2; = 9.6.0-alpha3 +2 more 8.6.31, 9.6.0 Fixed
parse-community parse-server = < 8.6.31; = >= 9.0.0 < 9.6.0-alpha.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
parse-community parse-server = >= 9.0.0 < 9.6.0-alpha.5 No fix listed
parse-community parse-server = < 8.6.31 No fix listed
npm parse-server(npm) >= 9.0.0-alpha.1, < 9.6.0-alpha.5 9.6.0-alpha.5
npm parse-server(npm) < 8.6.31 8.6.31
parseplatform parse-server < 8.6.31 8.6.31
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
parseplatform parse-server = 9.6.0-alpha3 No fix listed
parseplatform parse-server = 9.6.0-alpha4 No fix listed

References