Launch Week Day 1: Announcing Security Design Review
UNKNOWN npm

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

GHSA-c442-97qw-j6c6 · BIT-parse-2026-32234 · CVE-2026-32234

Published · Modified

Description

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

Ready to move

Start Securing

Free, no credit card | First findings in minutes