Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2019-10758

CRITICAL 9.9ExploitedPoCEPSS 100%

Remote Code Execution Vulnerability in NPM mongo-express

Also known as GHSA-h47j-hc6x-h3qq, SNYK-JS-MONGOEXPRESS-473215

Mitigation

  • Upgrade mongo-express to 0.54.0 or later.

Who should check

  • Projects that depend on npm package mongo-express (< 0.54.0)
  • Anyone running mongo-express All versions prior to version 0.54.0

Vulnerability facts

Affected
mongo-express < 0.54.0
Fixed in
0.54.0
Exploited in the wild
Yes: in CISA KEV since 2021-12-10; federal due date 2022-06-10
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, login needed
CVSS
9.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
84.73% chance of exploitation in 30 days (percentile 100, 2026-11-26)
CWE
CWE-94
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
npm mongo-express< 0.54.00.54.0osv
mongo-expressAll versions prior to version 0.54.0—cvelist

Timeline

  1. 2019-12-24 Published
  2. 2021-12-10 Added to CISA KEV (exploited in the wild)
  3. 2022-06-10 CISA remediation due date for US federal agencies
  4. 2026-09-10 Last modified

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2019-10758. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2019-10758.md
Affected: mongo-express < 0.54.0
Fixed in: 0.54.0

Steps:
1. Search this machine and project for mongo-express (npm), mongo-express: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2019-10758 being exploited?

Yes. CISA lists CVE-2019-10758 in its Known Exploited Vulnerabilities catalog since 2021-12-10, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 84.73% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2019-10758?

Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2019-10758?

mongo-express < 0.54.0.

Is there a fix for CVE-2019-10758?

Yes. Fixed in 0.54.0. Upgrade mongo-express to 0.54.0 or later.

How do I check if I'm affected by CVE-2019-10758?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors