CVE-2019-10758

published 24 Dec 2019 · updated 21 Oct 2025

MongoDB mongo-express Remote Code Execution Vulnerability

10.0CriticalCVSS 9.9EPSS 85%CISA KEV · due 10 Jun 20222 public exploits

Exploited in the wild, in CISA KEV since 10 Dec 2021 (due 10 Jun 2022), with 2 public exploits. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBmongo-express
=All versions prior to version 0.54.0

Exploit evidence

2 public sources

kev

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2019-10758 severity on Zeptric[![CVE-2019-10758](https://zeptric.io/badge/cve/CVE-2019-10758.svg)](https://zeptric.io/cve/CVE-2019-10758)