{"api_version":"1","generated_at":"2026-07-23T10:34:49+00:00","cve":"CVE-2019-10758","urls":{"html":"https://cve.report/CVE-2019-10758","api":"https://cve.report/api/cve/CVE-2019-10758.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-10758","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-10758"},"summary":{"title":"CVE-2019-10758","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":"PUBLIC","assigner":"report@snyk.io","published_at":"2019-12-24 22:15:00","updated_at":"2020-01-02 21:05:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215","name":"https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Remote Code Execution (RCE) in mongo-express | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-10758","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10758","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"10758","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mongo-express_project","cpe5":"mongo-express","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"10758","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mongo-express_project","cpe5":"mongo-express","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":{"cve_year":"2019","cve_id":"10758","cve":"CVE-2019-10758","vendorProject":"MongoDB","product":"mongo-express","vulnerabilityName":"MongoDB mongo-express Remote Code Execution Vulnerability","dateAdded":"2021-12-10","shortDescription":"mongo-express before 0.54.0 is vulnerable to Remote Code Execution via endpoints that uses the `toBSON` method.","requiredAction":"Apply updates per vendor instructions.","dueDate":"2022-06-10","knownRansomwareCampaignUse":"Unknown","notes":"https://nvd.nist.gov/vuln/detail/CVE-2019-10758","cwes":"","catalogVersion":"2026.07.22","updated_at":"2026-07-22 20:07:16"},"epss":{"cve_year":"2019","cve_id":"10758","cve":"CVE-2019-10758","epss":"0.848450000","percentile":"0.996880000","score_date":"2026-07-22","updated_at":"2026-07-23 00:09:33"},"legacy_qids":[{"cve":"CVE-2019-10758","qid":"983474","title":"Nodejs (npm) Security Update for mongo-express (GHSA-h47j-hc6x-h3qq)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2019-10758","ASSIGNER":"report@snyk.io","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"mongo-express","version":{"version_data":[{"version_value":"All versions prior to version 0.54.0"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Remote Code Execution"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215","url":"https://snyk.io/vuln/SNYK-JS-MONGOEXPRESS-473215"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2019-12-24 22:15:00","lastModifiedDate":"2020-01-02 21:05:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.1,"impactScore":6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":9},"severity":"HIGH","exploitabilityScore":8,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mongo-express_project:mongo-express:*:*:*:*:*:node.js:*:*","versionEndExcluding":"0.54.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"10758","Ordinal":"149037","Title":"CVE-2019-10758","CVE":"CVE-2019-10758","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"10758","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"10758","Ordinal":"2","NoteData":"2019-12-24","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"10758","Ordinal":"3","NoteData":"2019-12-24","Type":"Other","Title":"Modified"}]}}}