CVE-2019-10758 — MongoDB mongo-express Remote Code Execution Vulnerability
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.
Published
2019-12-24T21:08:36.000Z
Last modified
2025-10-21T23:35:54.793Z
CISA KEV — Actively Exploited
01What is this vulnerability?
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.
02Affected products
| Vendor | Product | Versions |
|---|
| n | a / mongo | express — All versions prior to version 0.54.0 |
03Active exploitation status
Yes — actively exploited. Added to the CISA KEV catalog on 2021-12-10. Ransomware use: Unknown.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Open the Sigma generator with a pre-filled prompt for this CVE to draft a starting detection in your stack of choice:
Open in Sigma generator →
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2019-12-24T21:08:36.000Z
- Last modified: 2025-10-21T23:35:54.793Z
- Added to CISA KEV: 2021-12-10
- BOD 22-01 due: 2022-06-10
09References
- snyk.io — https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →