CVE-2019-10758: Remote Code Execution Vulnerability in NPM mongo-express

mongo-express Updated 02 Oct 2025

Summary

30/12/2019
Yes i
Critical
9.9

CVE-2019-10758: Remote Code Execution Vulnerability in NPM mongo-express. Affects mongo-express versions < 0.54.0. Fixed in 0.54.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Mongo-express is an open-source web-based MongoDB admin interface. It provides a user-friendly interface for managing MongoDB databases, collections, and documents. This vulnerability affects versions prior to 0.54.0 of the mongo-express package. The vulnerability allows any authenticated user to execute arbitrary code on the host machine.

Vulnerability Detail

The vulnerability allows an attacker to execute arbitrary code on the host machine by exploiting a remote code execution vulnerability in the mongo-express package. By pasting a specific payload into the 'create index' field, an attacker can trigger the execution of arbitrary commands on the host machine. In the provided proof of concept, the payload pops open the Mac calculator. This vulnerability poses a significant risk as it allows an authenticated user to execute arbitrary commands with the privileges of the mongo-express process.

How To Fix

Latest published version: 1.1.0-rc-4 as of 23 Oct 2026

npm install mongo-express@1.1.0-rc-4

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.54.0

This is the first release that contains the fix.

npm install mongo-express@0.54.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. Users must upgrade to the patched version to mitigate the risk of remote code execution.

Conclusion

The remote code execution vulnerability in the mongo-express package allows any authenticated user to execute arbitrary code on the host machine. To mitigate this risk, users should upgrade to version 0.54.0 of the package. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for mongo-express →

Share this vulnerability

FAQ

Mongo-express is a web-based MongoDB admin interface that allows users to manage MongoDB databases, collections, and documents through a user-friendly interface.

The vulnerability allows any authenticated user to execute arbitrary code on the host machine, posing a significant security risk.

To fix this vulnerability, users should upgrade to version 0.54.0 of the mongo-express package.

No, there is no known workaround for this vulnerability. Users must upgrade to the patched version.

You can find more information about this vulnerability in the Snyk Security Advisory and the CVE entry provided in the references section.

Related vulnerabilities

Recent vulnerabilities recorded for mongo-express.

How To Fix

Latest published version: 1.1.0-rc-4 as of 23 Oct 2026

npm install mongo-express@1.1.0-rc-4

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.54.0

This is the first release that contains the fix.

npm install mongo-express@0.54.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback