# CVE-2019-10758

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.

- Page: https://www.vulneraibility.com/cve/CVE-2019-10758
- CVSS: 9.9
- Known exploited: yes, in CISA KEV since 2021-12-10; CISA due date 2022-06-10
- EPSS: 84.73% (percentile 99.7)
- Unvetted proof-of-concept code on GitHub: 3 GitHub proofs of concept · 1 Nuclei template (first 2019-12-26)
- CISA SSVC: exploitation active, automatable no, technical impact total (assessed 2025-02-07)
- Weakness: CWE-94
- Published: 2019-12-24

## Affected versions

- mongo-express: affected All versions prior to version 0.54.0

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-10758

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
