CVE-2025-64502: Parse Server Exposes Sensitive Database Information via Public Explain Queries

parse-server Updated 14 Dec 2025

Summary

13/11/2025
Yes i
Moderate
6.9

CVE-2025-64502: Impact The MongoDB explain() method provides detailed information about query execution plans, including index usage, collection scanning behavior, and performance metrics. Affects parse-server versions < 8.5.0-alpha.5. Fixed in 8.5.0-alpha.5. How to fix ↓

Also tracked for

The same CVE-2025-64502 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Parse Server is an open-source backend platform that enables developers to build applications with a robust server-side infrastructure. It provides features such as data storage, user authentication, and real-time notifications. However, a vulnerability has been identified that allows public access to the MongoDB explain queries, potentially exposing sensitive database information.

Vulnerability Detail

The vulnerability arises from the MongoDB explain() method, which reveals detailed information about query execution plans, including index usage and performance metrics. Parse Server permits any client to execute these explain queries without requiring a master key. This can lead to the exposure of database schema details, index configurations, and potential attack vectors for exploiting database performance.

How To Fix

Latest published version: 9.10.5 as of 22 Oct 2026

npm install parse-server@9.10.5

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

8.5.0-alpha.5

This is the first release that contains the fix.

npm install parse-server@8.5.0-alpha.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, you can implement middleware to block explain queries from non-master-key requests. Below is a sample middleware code snippet:

app.use((req, res, next) => {
  if (req.body && req.body.explain && !req.headers['x-master-key']) {
    return res.status(403).send('Forbidden: Explain queries require master key.');
  }

next();

});

Conclusion

In summary, the CVE-2025-64502 vulnerability in Parse Server allows public access to sensitive database information through explain queries. It is crucial to update to the latest version and implement recommended configurations to secure your application.

See every vulnerability recorded for parse-server →

Share this vulnerability

FAQ

The vulnerability allows unauthorized users to access sensitive database information, which can lead to data exposure and potential exploitation.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Update your parse-server package to the patched version and configure the 'databaseOptions.allowPublicExplain' setting to false.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just the package-lock.json file.

Failing to address this vulnerability may expose your database to unauthorized access, leading to potential data breaches and performance exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for parse-server.

How To Fix

Latest published version: 9.10.5 as of 22 Oct 2026

npm install parse-server@9.10.5

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

8.5.0-alpha.5

This is the first release that contains the fix.

npm install parse-server@8.5.0-alpha.5

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback