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.
Exploited in the wild. In CISA KEV since 2021‑12‑10. Fixed in 0.54.0.
What to do
Find your product and version, then upgrade to the build on the right.
- N/a Mongo-expressAffected: All versions prior to version 0.54.0Upgrade to: not statedStated by: CVE record
- Npm Mongo-expressAffected: < 0.54.0Upgrade to: 0.54.0Stated by: GitHub advisory
- Mongo-express Project Mongo-expressAffected: < 0.54.0Upgrade to: 0.54.0Stated by: NVD
- MongoDB Inc. Mongo-expressAffected: 0.54.0Upgrade to: not statedStated by: BDU
Versions as the sources state them. Full version matrix after sign-in
Coverage timeline
0 publishersAdded to CISA KEV catalog
Sourced from public security reporting — each date is when it was published, not when it happened.
What it is
From the CVE record
Remote Code Execution Vulnerability in NPM mongo-express
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Listed as exploited in the wild since 2021-12-10.
US federal agencies must remediate by 2022-06-10.
Apply updates per vendor instructions.
- Public exploits
1 source with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
85% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 130 days before any public exploit.
- EPSS band changecritical → high
- Public exploit / PoCsource: github-pocnuclei check added
- Patch availablerecord updated
- Added to CISA KEV
- Publishedweakness classified, att&ck mapped
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Scored 9.9 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- github.com/mongo-express/mongo-express/security/advisories/GHSA-h47j-hc6x-h3qq
- nvd.nist.gov/vuln/detail/CVE-2019-10758
- github.com/mongo-express/mongo-express/pull/522
And 11 more references. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Mongo-express, not every advisory. This one: actively exploited.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI