CVE-2026-31856: Parse Server has a SQL injection via `Increment` operation on nested object field in PostgreSQL

Published Mar 11, 2026
·
Updated

Impact

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.

Patches

The fix adds type validation to reject non-number values and parameterizes the value in the SQL query instead of interpolating it.

Workarounds

There is no known workaround.

References

- GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-q3vj-96h2-gwvg - Fix Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.3 - Fix Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.29

Other sources

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.

MITRE

Affected Software

6 affected componentsFixes available
npm/parse-server<8.6.29
8.6.29
npm/parse-server>=9.0.0-alpha.1<9.6.0-alpha.3
9.6.0-alpha.3
parseplatform Parse-server Node.js<8.6.29
parseplatform Parse-server Node.js>=9.0.0<9.6.0
parseplatform Parse-server Node.js=9.6.0-alpha1
parseplatform Parse-server Node.js=9.6.0-alpha2

Event History

Mar 11, 2026
Advisory Published
via GitHub·12:26 AM
Data Sourced
via GitHub·12:26 AM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·05:14 PM
Data Sourced
via MITRE·05:14 PM
DescriptionWeakness
Data Sourced
via NVD·06:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 29, 58178
Event
via FIRST·03:09 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-31856?

CVE-2026-31856 is classified as a high severity SQL injection vulnerability.

2

How do I fix CVE-2026-31856?

To fix CVE-2026-31856, upgrade to parse-server version 8.6.29 or version 9.6.0-alpha.3 or later.

3

What is the impact of CVE-2026-31856?

CVE-2026-31856 allows attackers to execute arbitrary SQL queries through improperly handled data in Increment operations.

4

Which software is affected by CVE-2026-31856?

CVE-2026-31856 affects versions of parse-server prior to 8.6.29 and between 9.0.0-alpha.1 and 9.6.0-alpha.3.

5

Can CVE-2026-31856 be exploited remotely?

Yes, CVE-2026-31856 can be exploited remotely if the affected application is exposed to the internet.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203