~ / search / GHSA-c442-97qw-j6c6

GHSA-c442-97qw-j6c6

Parse Server has a SQL injection via query field name when using PostgreSQL

Source: GitHub Advisory Database (reviewed) Moderate CVE-2026-32234

Packages

EcosystemPackageAffectedFixed in
npm parse-server >= 9.0.0, < 9.6.0-alpha.10 9.6.0-alpha.10
npm parse-server < 8.6.36 8.6.36

Details

As written in the advisory (Markdown source, shown as plain text).

### Impact An attacker with access to the master key can inject malicious SQL via crafted field names used in query constraints when Parse Server is configured with PostgreSQL as the database. The field name in a `$regex` query operator is passed to PostgreSQL using unparameterized string interpolation, allowing the attacker to manipulate the SQL query. While the master key controls what can be done through the Parse Server abstraction layer, this SQL injection bypasses Parse Server entirely and operates at the database level. This vulnerability only affects Parse Server deployments using PostgreSQL. ### Patches The fix applies proper SQL identifier escaping to field names in the query handler and hardens query field name validation to reject malicious field names for all query types. ### Workarounds There is no known workaround. ### References - GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-c442-97qw-j6c6 - Fix Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.10 - Fix Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.36

References

External links from the advisory. They lead to third-party sites.