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.
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.
There is no known workaround.
{
"nvd_published_at": "2026-03-11T20:16:18Z",
"github_reviewed_at": "2026-03-12T16:37:58Z",
"cwe_ids": [
"CWE-89"
],
"severity": "MODERATE",
"github_reviewed": true
}