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.
Metrics
CVSS 3.1 9.9/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | mongo-express | All versions prior to version 0.54.0 |
References
- https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215Exploit, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-10758US Government Resource
Timeline
- Published
- Dec 24, 2019
- Last modified
- Jun 17, 2026
- Added to CISA KEV
- Dec 10, 2021
- NVD status
- Analyzed