Skip to main content
← All vulnerabilities
CVE-2019-10758GHSA-H47J-HC6X-H3QQSNYK-JS-MONGOEXPRESS-473215

mongo-express before 0.54.0 is vulnerable to Remote Code Execution via endpoints that uses the `toBSON` method.

Published
Last modified
published
Listed in CISA KEV
Fix
Fixed in 0.54.0
None on Exploit-DB, Metasploit or GitHub

Summary

mongo-express, a web-based administration interface for MongoDB, is affected by this vulnerability. An attacker could exploit flaws in its endpoints that use the `toBSON` method to execute arbitrary commands on the server hosting the application.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. Added to CISA KEV

    CISA has evidence of exploitation in the wild

  3. CISA remediation deadline

    Due date for US federal agencies to patch

  4. Record last updated
  5. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a mongo-express

    All versions prior to version 0.54.0

  • mongo-expressnpm

    fixed in 0.54.0

References 1

snyk.io