CVE-2019-10758
MongoDB mongo-express Remote Code Execution Vulnerability
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 10 June 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
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.
- CVSS 3.1
- 9.9 CRITICALCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS
- 84.73% probability · 100th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Listed 10 December 2021 · due 10 June 2022
- Weakness
- CWE-94
- Affected
- mongo-express project/mongo-express
- Source
- report@snyk.io
EPSS 84.7% since 27 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
CISA notes
Apply updates per vendor instructions. https://nvd.nist.gov/vuln/detail/CVE-2019-10758
References
- https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215Exploit, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-10758US Government Resource
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.