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:
A new databaseOptions.allowPublicExplain configuration option has been introduced that allows to restrict explain queries to the master key. The option defaults to true for now to avoid a breaking change in production systems that depends on public explain availability. In addition, a security warning is logged when the option is not explicitly set, or set to true. In a future major release of Parse Server, the default will change to false.
Implementing middleware to block explain queries from non-master-key requests, or monitor and alert on explain query usage in production environments.
{
"nvd_published_at": "2025-11-10T22:15:37Z",
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2025-11-13T00:09:41Z",
"cwe_ids": [
"CWE-201"
]
}