Mongosh
Monthly
MongoDB Shell (mongosh) versions prior to 2.14.0 bundle a Node.js runtime whose TLS root store includes recoverable eMudhra intermediate CA certificates, so an unauthenticated on-path attacker who can present a certificate chain under that CA could intercept and alter TLS connections when a victim initiates a mongosh TLS session. The issue is CWE-295 improper certificate validation and is rated CVSS 4.0 7.6 (High); exploitation requires a MITM network position plus victim-initiated interaction, and npm-based installs instead depend on the host Node.js runtime. The vendor fix is mongosh 2.14.0 bundling Node.js 24.22.1 or later, and no public exploit identified at time of analysis.
mongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user's system with elevated privilege, when a crafted file is stored. Rated high severity (CVSS 7.5). No vendor patch available.
The MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control characters into the shell output. Rated low severity (CVSS 3.9), this vulnerability is remotely exploitable. No vendor patch available.
The MongoDB Shell may be susceptible to control character injection where an attacker with control of the user’s clipboard could manipulate them to paste text into mongosh that evaluates arbitrary. Rated medium severity (CVSS 6.3). No vendor patch available.
The MongoDB Shell may be susceptible to control character injection where an attacker with control of the mongosh autocomplete feature, can use the autocompletion feature to input and run obfuscated. Rated high severity (CVSS 7.6), this vulnerability is remotely exploitable. No vendor patch available.
MongoDB Shell (mongosh) versions prior to 2.14.0 bundle a Node.js runtime whose TLS root store includes recoverable eMudhra intermediate CA certificates, so an unauthenticated on-path attacker who can present a certificate chain under that CA could intercept and alter TLS connections when a victim initiates a mongosh TLS session. The issue is CWE-295 improper certificate validation and is rated CVSS 4.0 7.6 (High); exploitation requires a MITM network position plus victim-initiated interaction, and npm-based installs instead depend on the host Node.js runtime. The vendor fix is mongosh 2.14.0 bundling Node.js 24.22.1 or later, and no public exploit identified at time of analysis.
mongosh may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user's system with elevated privilege, when a crafted file is stored. Rated high severity (CVSS 7.5). No vendor patch available.
The MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control characters into the shell output. Rated low severity (CVSS 3.9), this vulnerability is remotely exploitable. No vendor patch available.
The MongoDB Shell may be susceptible to control character injection where an attacker with control of the user’s clipboard could manipulate them to paste text into mongosh that evaluates arbitrary. Rated medium severity (CVSS 6.3). No vendor patch available.
The MongoDB Shell may be susceptible to control character injection where an attacker with control of the mongosh autocomplete feature, can use the autocompletion feature to input and run obfuscated. Rated high severity (CVSS 7.6), this vulnerability is remotely exploitable. No vendor patch available.