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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-h47j-hc6x-h3qq Remote Code Execution Vulnerability in NPM mongo-express
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 22 Oct 2025 00:15:00 +0000


Tue, 21 Oct 2025 20:30:00 +0000


Tue, 21 Oct 2025 19:30:00 +0000


Fri, 07 Feb 2025 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94
Metrics kev

{'dateAdded': '2021-12-10'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'active', 'Technical Impact': 'total'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2025-10-21T23:35:54.793Z

Reserved: 2019-04-03T00:00:00.000Z

Link: CVE-2019-10758

cve-icon Vulnrichment

Updated: 2024-08-04T22:32:01.669Z

cve-icon NVD

Status : Modified

Published: 2019-12-24T22:15:11.183

Modified: 2025-10-22T00:16:32.810

Link: CVE-2019-10758

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.