CVE-2026-31840: Parse Server has a SQL injection via dot-notation field name in PostgreSQL

Published Mar 10, 2026
·
Updated

Impact

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.

Patches

The fix escapes characters in dot-notation sub-field values that could allow a SQL breakout.

Workarounds

There is no known workaround.

References

- GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-qpr4-jrj4-6f27 - Fix Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.2 - Fix Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.28

Other sources

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.

MITRE

Affected Software

5 affected componentsFixes available
npm/parse-server<8.6.28
8.6.28
npm/parse-server>=9.0.0<9.6.0-alpha.2
9.6.0-alpha.2
parseplatform Parse-server Node.js<8.6.28
parseplatform Parse-server Node.js>=9.0.0<9.6.0
parseplatform Parse-server Node.js=9.6.0-alpha1

Event History

Mar 10, 2026
Advisory Published
via GitHub·06:25 PM
Data Sourced
via GitHub·06:25 PM
DescriptionWeaknessAffected Software
Mar 11, 2026
CVE Published
via MITRE·04:53 PM
Data Sourced
via MITRE·04:53 PM
DescriptionWeakness
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 29, 58178
Event
via FIRST·03:20 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-31840?

CVE-2026-31840 has a high severity due to the potential for SQL injection attacks allowing unauthorized database access.

2

How do I fix CVE-2026-31840?

To fix CVE-2026-31840, upgrade to Parse Server version 8.6.28 or 9.6.0-alpha.2.

3

What kind of attack can be executed using CVE-2026-31840?

CVE-2026-31840 allows an attacker to perform SQL injection by using a dot-notation field name with the sort query parameter.

4

Which versions of Parse Server are affected by CVE-2026-31840?

CVE-2026-31840 affects all versions of Parse Server prior to 8.6.28 and from 9.0.0 up to 9.6.0-alpha.2.

5

Is CVE-2026-31840 specific to any database?

Yes, CVE-2026-31840 is specifically related to SQL injection vulnerabilities in PostgreSQL databases.

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