CVE-2019-10758
CRITICAL 9.9CVSS 3.1known exploitedRemote Code Execution Vulnerability in NPM mongo-express
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.
- Published
- 24 Dec 2019
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Analyzed
- Weakness
- CWE-78CWE-94
- Also known as
- GHSA-h47j-hc6x-h3qqSNYK-JS-MONGOEXPRESS-473215
- Sources
- NVDJSONCISA KEVJSONOSV GHSA-h47j-hc6x-h3qqJSON
In CISA's Known Exploited Vulnerabilities catalog since 10 Dec 2021; US federal agencies must fix it by 10 Jun 2022.
Apply updates per vendor instructions.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mongo-express_project | mongo-expresscpe:2.3:a:mongo-express_project:mongo-express:*:*:*:*:*:node.js:*:* |
< 0.54.0 | 0.54.0 |
| OSV | npm | mongo-express | < 0.54.0 | 0.54.0 |
References
- https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215 · Exploit, Third Party Advisory, WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-10758 · US Government Resource, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-10758 · ADVISORY
- https://github.com/mongo-express/mongo-express/security/advisories/GHSA-h47j-hc6x-h3qq · WEB
- https://github.com/mongo-express/mongo-express/pull/522 · WEB
- https://github.com/mongo-express/mongo-express/commit/7d365141deadbd38fa961cd835ce68eab5731494 · WEB
- https://github.com/mongo-express/mongo-express/commit/d8c9bda46a204ecba1d35558452685cd0674e6f2 · WEB
- https://github.com/mongo-express/mongo-express · PACKAGE
- https://github.com/mongo-express/mongo-express/blob/ea02b364d43f179f191fc91fb9962efdb0843a8d/lib/bson.js#L60 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 24 Dec 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Dec 2019)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 10 Dec 2021)
- 10 Dec 2021 00:00 UTC · Listed as known exploited