Parse Server allows public `explain` queries which may expose sensitive database performance information and schema details
Moderate severity
GitHub Reviewed
Published
Nov 8, 2025
in
parse-community/parse-server
•
Updated Nov 13, 2025
Description
Published by the National Vulnerability Database
Nov 10, 2025
Published to the GitHub Advisory Database
Nov 13, 2025
Reviewed
Nov 13, 2025
Last updated
Nov 13, 2025
Impact
The MongoDB
explain()method provides detailed information about query execution plans, including index usage, collection scanning behavior, and performance metrics. Parse Server permits any client to execute explain queries without requiring the master key. This exposes:Patches
A new
databaseOptions.allowPublicExplainconfiguration option has been introduced that allows to restrictexplainqueries to the master key. The option defaults totruefor now to avoid a breaking change in production systems that depends on publicexplainavailability. In addition, a security warning is logged when the option is not explicitly set, or set totrue. In a future major release of Parse Server, the default will change tofalse.Workarounds
Implementing middleware to block explain queries from non-master-key requests, or monitor and alert on explain query usage in production environments.
References