CVE-2019-10758
Confirmed PUBLISHEDmongo-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...
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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.
- CVE Published
- Dec 24, 2019
- Exploitation Reported
- Dec 10, 2021
- CVSS
- 9.9 Critical
- EPSS
- 84.8%
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| n/a |
mongo-express
|
All versions prior to version 0.54.0 |
Affected |
CVE References
- snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215 snyk.io · CVE Record https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2021-12-10 00:00 UTC |
| The Shadowserver | 2026-07-08 00:00 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-10758.yaml | Apr 25, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
AV:N/AC:L/Au:S/C:C/I:C/A:C
Exploitation Status
Exploited in the wild
Recorded 2021-12-10 00:00:00 UTC · CISA
Proof of concept available
Recorded 2019-12-26 06:58:56 UTC · GitHub
Weaknesses (CWE)
-
Improper Control of Generation of Code ('Code Injection')
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-10758.yaml | Apr 25, 2025 |
| Nessus | https://www.tenable.com/plugins/nessus/200501 | Jun 14, 2024 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2020-12-01 09:18:57 UTC · 1 stars
github · Created 2019-12-26 06:58:56 UTC · 111 stars
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
00:00 UTC 14 days ago00:00 UTC · 14 days ago
KEV confirmed by The Shadowserver
Exploitation attested by an external source
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
04:06 UTC about 2 years ago04:06 UTC · about 2 years ago
Nessus plugin available
Scanner coverage available
-
00:00 UTC over 4 years ago00:00 UTC · over 4 years ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
06:58 UTC over 6 years ago06:58 UTC · over 6 years ago
Public PoC available
Public proof-of-concept code published
-
21:08 UTC over 6 years ago21:08 UTC · over 6 years ago
CVE published
Vulnerability disclosed publicly
-
00:00 UTC over 7 years ago00:00 UTC · over 7 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2019-10758
{
"cve_id": "CVE-2019-10758",
"title": "mongo-express before 0.54.0 is vulnerable to Remote Code Execution via endpoi...",
"affected_vendor": "mongo-express",
"affected_product": "mongo-express",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 9.9,
"epss_score": 0.84845,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}