{"id":"EUVD-2019-0791","revision":null,"records":[{"revision":"a1562a2490e24c068d588ab810e48f31","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2019-10758","aliases":[],"title":"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.","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.","state":0,"publishedAt":"2019-12-24T21:08:36+00:00","modifiedAt":"2025-10-21T23:35:54.793+00:00","affected":[{"ecosystem":"Vendor product","name":"mongo-express","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"mongo-express\",\n                    \"vendor\": \"n/a\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"All versions prior to version 0.54.0\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2019-10758","license":"CVE Program Terms of Use","key":"cve-program:CVE-2019-10758","identifiers":["CVE-2019-10758"]},"retained":false,"historicalAffected":[]},{"revision":"0441cad8d7184f0db01e4a9a93c74a80","observedAt":"2026-11-17T22:32:43.742+00:00","statement":{"source":"euvd","id":"EUVD-2019-0791","aliases":["CVE-2019-10758","GHSA-h47j-hc6x-h3qq"],"title":"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.","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"severity":null}],"references":["https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-0791","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Dec 24, 2019, 9:08:36 PM","dateUpdated":"Oct 21, 2025, 11:35:54 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2019-0791","identifiers":["EUVD-2019-0791","CVE-2019-10758","GHSA-h47j-hc6x-h3qq"]},"retained":false,"historicalAffected":[]},{"revision":"698ab75c47a0493f9197695c7406bf86","observedAt":"2026-10-24T15:17:21.983+00:00","statement":{"source":"nvd","id":"CVE-2019-10758","aliases":[],"title":"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.","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.","state":0,"publishedAt":"2019-12-24T22:15:11.183+00:00","modifiedAt":"2026-06-17T02:11:36.92+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"severity":"CRITICAL"},{"system":"CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0 · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":9.9,"severity":"CRITICAL"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","score":9,"severity":"HIGH"}],"references":["https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-10758"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2019-10758","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["NVD-CWE-noinfo","CWE-94"],"productCriteria":["cpe:2.3:a:mongo-express_project:mongo-express:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2019-12-24T22:15:11.183","lastModified":"2026-06-17T02:11:36.920"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2019-10758","identifiers":["CVE-2019-10758"]},"retained":false,"historicalAffected":[]},{"revision":"9dd3398aae0c4f51ac69d296cc923300","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-h47j-hc6x-h3qq","aliases":["CVE-2019-10758","SNYK-JS-MONGOEXPRESS-473215"],"title":"Remote Code Execution Vulnerability in NPM mongo-express","description":"### Impact\n\nRemote code execution on the host machine by any authenticated user.\n\n### Proof Of Concept\n\nLaunching mongo-express on a Mac, pasting the following into the \"create index\" field will pop open the Mac calculator:\n\n```javascript\nthis.constructor.constructor(\"return process\")().mainModule.require('child_process').execSync('/Applications/Calculator.app/Contents/MacOS/Calculator')\n```\n\n### Patches\nUsers should upgrade to version `0.54.0`\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [example link to repo](http://example.com)\n* Email us at [example email address](mailto:example@example.com)\n\n#### Thanks\n\n@JLLeitschuh for finding and reporting this vulnerability\n\nThis vulnerability has been [exploited](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-10758) in the wild.","state":0,"publishedAt":"2019-12-30T19:30:31+00:00","modifiedAt":"2026-09-10T03:49:24.7478144+00:00","affected":[{"ecosystem":"npm","name":"mongo-express","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.54.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/mongo-express/mongo-express/security/advisories/GHSA-h47j-hc6x-h3qq","https://nvd.nist.gov/vuln/detail/CVE-2019-10758","https://github.com/mongo-express/mongo-express/pull/522","https://github.com/mongo-express/mongo-express/commit/7d365141deadbd38fa961cd835ce68eab5731494","https://github.com/mongo-express/mongo-express/commit/d8c9bda46a204ecba1d35558452685cd0674e6f2","https://github.com/mongo-express/mongo-express","https://github.com/mongo-express/mongo-express/blob/ea02b364d43f179f191fc91fb9962efdb0843a8d/lib/bson.js#L60","https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-10758"],"sourceUrl":"https://github.com/advisories/GHSA-h47j-hc6x-h3qq","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-h47j-hc6x-h3qq","identifiers":["GHSA-h47j-hc6x-h3qq","CVE-2019-10758","SNYK-JS-MONGOEXPRESS-473215"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-19T07:24:18.7298498+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T07:24:18.7298498+00:00","lastSuccessAt":"2026-11-19T07:24:18.9487255+00:00","error":null,"lastVerifiedAt":"2026-11-19T07:24:18.9487263+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-6714a3769a95ec9959c2a18ec6e9c662fa94c50e6cc8f09b8637484c48be264d","complete":true,"records":428256,"lastAttemptAt":"2026-11-19T08:22:43.4894832+00:00","lastSuccessAt":"2026-11-19T08:22:43.4586058+00:00","error":null,"lastVerifiedAt":"2026-11-19T08:22:43.4894832+00:00","snapshotPublishedAt":"2026-11-19T07:27:22+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-07086e6cf313440ea30d10a928fc91b9","complete":false,"records":13861,"lastAttemptAt":"2026-11-19T07:33:41.8483147+00:00","lastSuccessAt":"2026-11-19T07:33:40.828+00:00","error":"235 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T07:33:40.828+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13426,"expectedIdentifiers":13908,"failedIdentifiers":235},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-19T07:24:18.7298498+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T07:24:18.7298498+00:00","lastSuccessAt":"2026-11-19T07:24:18.9495005+00:00","error":null,"lastVerifiedAt":"2026-11-19T07:24:18.9495036+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-841a7083b5da4792a608345e0878654f","complete":true,"records":13873,"lastAttemptAt":"2026-11-19T07:24:19.9897258+00:00","lastSuccessAt":"2026-11-19T07:24:19.985+00:00","error":null,"lastVerifiedAt":"2026-11-19T07:24:19.985+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13908,"expectedIdentifiers":13908,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-76574c95b6792d47ba90af64983ed5843633f14426346d676016e94a5f383202","complete":true,"records":9963,"lastAttemptAt":"2026-11-19T07:24:18.6790903+00:00","lastSuccessAt":"2026-11-19T01:24:31.4213722+00:00","error":null,"lastVerifiedAt":"2026-11-19T07:24:18.6790903+00:00","snapshotPublishedAt":"2026-11-19T01:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T08:22:43.535074+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T08:22:43.535074+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-c0d9c71c6fa06d617f979e7bec0d97aca70ca5aea1558184002f8e44516f2fac","complete":true,"records":3177,"lastAttemptAt":"2026-11-19T07:24:18.6935178+00:00","lastSuccessAt":"2026-11-18T21:25:09.5127964+00:00","error":null,"lastVerifiedAt":"2026-11-19T07:24:18.6935178+00:00","snapshotPublishedAt":"2026-11-18T21:18:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-0378f37a427647fa1681f61567cdc1e8dc0f1ff3eb46719acf6c5f27f602fe57","complete":true,"records":232723,"lastAttemptAt":"2026-11-19T07:24:18.515734+00:00","lastSuccessAt":"2026-11-19T07:24:17.5741512+00:00","error":null,"lastVerifiedAt":"2026-11-19T07:24:18.515734+00:00","snapshotPublishedAt":"2026-11-19T07:18:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}