CVE-2025-64502 Parse Server allows public `explain` queries which may expose sensitive database performance information and schema details
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. The MongoDB explain() method provides detailed information about query execution plans, including index usage, collection scanning behavior, and performance metrics. Prior to version 8.5.0-alpha.5, 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, and potential attack vectors for database performance exploitation. In version 8.5.0-alpha.5, 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. As a workaround, implement middleware to block explain queries from non-master-key requests, or monitor and alert on explain query usage in production environments.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm parse-server(npm) | < 8.5.0-alpha.5 | 8.5.0-alpha.5 | Fixed |
| parse-community parse-server | = < 8.5.0-alpha.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm parse-server(npm) | < 8.5.0-alpha.5 | 8.5.0-alpha.5 |
| parse-community parse-server | = < 8.5.0-alpha.5 | No fix listed |
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-7cx5-254x-cgrq vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/parse-community/parse-server/pull/9890 patch
- https://github.com/parse-community/parse-server/commit/4456b02280c2d8dd58b7250e9e67f1a8647b3452 patch
- github.com
- github.com product