CVE-2019-10758 kev in the critical feed json
Remote Code Execution Vulnerability in NPM mongo-express
published 2019-12-24 6 y ago modified 2026-09-10 1 mo ago also GHSA-h47j-hc6x-h3qq , EUVD-2019-0791
- cvss
- 9.9
- version 3.1, CNA
- cisa kev
- Exploited
- added 2021-12-10
- epss
- 84.7%
- EPSS 84.7% chance of exploitation in 30 days, percentile 99.7%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
cisa required action Apply updates per vendor instructions.
- npm mongo-express 0.54.0
- mongo-express_project mongo-express 0.54.0
Timeline
- Published
- Added to CISA KEV
- CISA patch deadline
- CISA SSVC: exploitation active
Known exploited
- Added
- 4 y ago
- Patch by
- 2022-06-10 (4 y ago)
- Ransomware
- Not known
- Required action
- Apply updates per vendor instructions.
- Vendor, product
- MongoDB, mongo-express
- CISA name
- MongoDB mongo-express Remote Code Execution Vulnerability
CISA SSVC
- Exploitation
- Active, exploited in the wild
- Automatable
- no
- Technical impact
- total
- Assessed
- 21 mo ago
Exploit prediction
84.73% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template mongo-express Remote Code Execution nuclei detection template
- snyk.io https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| CNA | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 2.0 | 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
| GitHub | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | mongo-express | <0.54.0 |
0.54.0 |
Affected products
- n/a mongo-express
Classification
References
-
github.com
/mongo-express/mongo-express/pull/522
web
-
github.com
/mongo-express/mongo-express/commit/7d365141deadbd38fa961cd835ce68eab5731494
web
-
github.com
/mongo-express/mongo-express/commit/d8c9bda46a204ecba1d35558452685cd0674e6f2
web
-
snyk.io
/vuln/SNYK-JS-MONGOEXPRESS-473215
web, exploit, third-party-advisory
-
cisa.gov
/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-10758
government-resource, web, us-government-resource
-
github.com
/mongo-express/mongo-express/security/advisories/GHSA-h47j-hc6x-h3qq
web
-
nvd.nist.gov
/vuln/detail/CVE-2019-10758
advisory
-
github.com
/mongo-express/mongo-express
package
-
github.com
/mongo-express/mongo-express/blob/ea02b364d43f179f191fc91fb9962efdb0843a8d/lib/bson.js#L60
web
Sources
- CVE List CVE-2019-10758
- GitHub Advisory GHSA-h47j-hc6x-h3qq
- NVD CVE-2019-10758
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.