CVE-2018-25004
MongoDB vulnerability analysis and mitigation

Overview

A vulnerability identified as CVE-2018-25004 affects MongoDB Server, where a user with specific query permissions can trigger a denial of service by issuing a generic explain command on a find query. This vulnerability impacts MongoDB Server v4.0 versions prior to 4.0.6 and MongoDB Server v3.6 versions prior to 3.6.11 (MongoDB JIRA).

Technical details

The vulnerability is classified as CWE-20: Improper Input Validation. It has been assigned a CVSS v3.1 base score of 4.9 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H, indicating network accessibility, low attack complexity, high privileges required, no user interaction needed, and potential for high availability impact (NVD).

Impact

When successfully exploited, this vulnerability can result in a denial of service condition, affecting the availability of the MongoDB server. The impact is specifically limited to availability with no direct effect on confidentiality or integrity (NVD).

Exploitability

The vulnerability requires high privileges for exploitation, specifically requiring a user to be authorized to perform specific types of queries. The attack can be executed remotely over the network with low attack complexity (NVD).

Mitigation and workarounds

The vulnerability has been patched in MongoDB Server versions 4.0.6 and 3.6.11. Users running affected versions should upgrade to these patched versions or later to mitigate the vulnerability (MongoDB JIRA).

Additional resources


SourceThis report was generated using AI

Related MongoDB vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-82075HIGH8.7
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesSep 08, 2026
CVE-2026-82071HIGH7.2
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesSep 08, 2026
CVE-2026-82076HIGH7.1
  • MongoDB logoMongoDB
  • mongodb
NoYesSep 08, 2026
CVE-2026-82074HIGH7.1
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesSep 08, 2026
CVE-2026-82073HIGH7.1
  • MongoDB logoMongoDB
  • mongodb
NoYesSep 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management