Critical severity · published Dec 24, 2019
CVE-2019-10758
MongoDB mongo-express Remote Code Execution Vulnerability
In wildKEV
9.9
CVSS
84.7%
EPSS
Yes
On KEV
Description
mongo-express before 0.54.0 is vulnerable to Remote Code Execution via endpoints that uses the `toBSON` method. A misuse of the `vm` dependency to perform `exec` commands in a non-safe environment.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)84.7% · higher than 100% of CVEs
Exploited in the wildYes
CISA KEVListed Dec 10, 2021
Federal remediation dueJun 10, 2022
Ransomware campaign useNot known
Affected products
Which versions
MO
MongoDB · MongoDB
All versions, or not specified · source: KEV
MO
mongo-express ·
All versions prior to version 0.54.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-10758
CVE.org
https://www.cve.org/CVERecord?id=CVE-2019-10758
CISA KEV catalogue
https://www.cisa.gov/known-exploited-vulnerabilities-catalog
x_refsource_MISC
https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215
More from MongoDB
7.5
CVE-2025-14847
Zlib compressed protocol header length confusion may allow memory read
9.8
CVE-2026-19001
MongoDB BI Connector ODBC driver may write outside an allocated buffer when handling oversized catalog object names
9.8
CVE-2025-3085
A MongoDB server under specific conditions running on Linux with TLS and CRL revocation status checking enabled, fails to check the revocation status of the intermediate…
9.8
CVE-2024-8654
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour
9.8
CVE-2024-1351
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which may result in untrusted connections to succeed
