CVE-2025-64502
Parse Server allows public `explain` queries which may expose sensitive database performance information and schema details
Description
### 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: - Database schema structure and field names - Index configurations and query optimization details - Query execution statistics and performance metrics - Potential attack vectors for database performance exploitation ### Patches 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`. ### Workarounds Implementing middleware to block explain queries from non-master-key requests, or monitor and alert on explain query usage in production environments.
How to fix CVE-2025-64502
To remediate CVE-2025-64502, upgrade the affected package to a fixed version below.
- —upgrade to 8.5.0 or later
- —upgrade to 8.5.0-alpha.5 or later
Is CVE-2025-64502 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 8.5.0
- from 0, < 8.5.0-alpha.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N |