CVE-2019-10758 is a remote code execution vulnerability in mongo-express before version 0.54.0. The flaw is exposed through endpoints that invoke the toBSON method. Due to unsafe use of the vm dependency, attacker-controlled input can be evaluated in a non-safe execution context, enabling execution of operating system commands instead of being confined to a secure sandbox. The issue effectively turns BSON-related request handling into a code execution primitive on affected mongo-express deployments.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository is a proof-of-concept (PoC) exploit for CVE-2019-10758, a remote code execution vulnerability in mongo-express <=0.53.0. The repository contains three files: a README.md with setup and exploitation instructions, a main.js script that crafts the exploit payload, and a package-lock.json for dependencies. The exploit works by sending a specially crafted payload to the /checkValid endpoint of a locally running mongo-express instance, leveraging server-side JavaScript injection to execute arbitrary system commands. The provided payload demonstrates launching the Calculator app on macOS, but any command could be executed. The exploit requires the vulnerable mongo-express to be running with default credentials and accessible on http://localhost:8081. The main.js file is the core exploit script, while the README provides both a cURL-based and script-based exploitation method. No detection or fake code is present; this is a functional PoC exploit.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A specific vulnerability included among the exploit targets used by the Gitpaste-12/X10-unix cryptomining worm.
A remote code execution vulnerability in MongoDB mongo-express that has been actively exploited in the wild.
A remote code execution vulnerability in Mongo Express that the content identifies as used by Sysrv.
A remote code execution vulnerability in Mongo Express used by Sysrv according to the content.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.