CVE-2019-10758GHSA-H47J-HC6X-H3QQSNYK-JS-MONGOEXPRESS-473215
mongo-express before 0.54.0 is vulnerable to Remote Code Execution via endpoints that uses the `toBSON` method.
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Listed in CISA KEV
- Fix
- Fixed in 0.54.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
mongo-express, a web-based administration interface for MongoDB, is affected by this vulnerability. An attacker could exploit flaws in its endpoints that use the `toBSON` method to execute arbitrary commands on the server hosting the application.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original 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.
Timeline
- CVE published
- Added to CISA KEV
CISA has evidence of exploitation in the wild
- CISA remediation deadline
Due date for US federal agencies to patch
- Record last updated
- EPSS reached 10%
FIRST estimates at least a 10% chance of exploitation in the next 30 days
Affected versions
- n/a mongo-express
All versions prior to version 0.54.0
- mongo-expressnpm
fixed in 0.54.0