patchminder
Exploited in the wild · CISA KEV CVE-2019-10758

Remote code executionin MongoDB mongo-express.

Published 24 Dec 2019 · Updated 21 Oct 2025 · Every fact sourced

JSONCite
Is it exploited?
Yes

On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 10 Dec 2021.

On CISA's listAttack code is public
Severity
Critical 9.9
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 84.8% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 0.54.0 or later
In plain words

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.

What to do now
  • Upgrade mongo-express (npm) to 0.54.0 or later.
  • CISA requires US federal agencies to fix it by 10 Jun 2022.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
mongo-express
Not confirmed
Not confirmed
CVE record
mongo-express (npm)
before 0.54.0
0.54.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 3 Apr 2019
    CVE ID reserved by snyk.
  2. 24 Dec 2019
    Published in the CVE List.
  3. 26 Dec 2019
    First public proof of concept on GitHub.
  4. 10 Dec 2021
    Added to CISA's Known Exploited Vulnerabilities list.
  5. 21 Oct 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
None known
GitHub proof of concepts
3 repositories
Nucleimongo-express Remote Code Executiondetection template
GitHubno warning signs foundmasahiro331/CVE-2019-10758112 stars · created 26 Dec 2019
GitHubno warning signs foundlp008/CVE-2019-107585 stars · created 5 Jan 2020CVE-2019-10758
GitHubno warning signs foundCyberCTF/vulhub-mongo-express-cve-2019-107580 stars · created 8 Oct 2026Vulhub mongo-express/CVE-2019-10758: mongo-express Remote Code Execution (CVE-2019-10758), run with Isoloom

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness: Code injection

All CWE-94 vulnerabilities

References
Cite this page

Patchminder. CVE-2019-10758: Remote code execution in MongoDB mongo-express. https://patchminder.com/cve/cve-2019-10758/ (accessed 5 December 2026).