CVE-2019-10758Mongo-Express OS Command Injection
Remote Code Execution Vulnerability in NPM mongo-express
Published Dec 24, 2019 · Updated Oct 24, 2026 · Also known as GHSA-h47j-hc6x-h3qq, SNYK-JS-MONGOEXPRESS-473215
Key Facts
Patch immediately- CVE-2019-10758 is a critical-severity vulnerability (CVSS 9.9 v3.1) affecting Mongo-Express (Mongo-Express Project).
- It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Nov 6, 2020. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 85% probability of exploitation in the next 30 days.
- Fixed versions are available, including Mongo-Express 0.54.0.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
9.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
85%
Higher than 99.8% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
64/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Dec 10, 2021
717 days after publication
Federal due date
Jun 10, 2022
Overdue
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
14
Reports of active use
Required action (CISA): Apply updates per vendor instructions.
Advisories And Exploit References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2019-10758
- advisoryGHSA advisory
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | Dec 10, 2021 | Jun 10, 2022 | Not reported |
| Industry KEV feed | Nov 6, 2020 | Jun 10, 2022 | Not reported |
| CIRCL KEV | Dec 10, 2021 | Jun 10, 2022 | Not reported |
| ENISA EUVD | Dec 10, 2021 | n/a | Not reported |
Required action: Apply updates per vendor instructions.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Mongo-ExpressMongo-Express Project | >= All versions prior to version 0.54.0 | 0.54.0 |
Patched Releases
Mongo-Express
0.54.0
Timeline
Publicly disclosed
Dec 24, 2019
Added to Industry KEV feed
Nov 6, 2020
Added to CISA KEV
Dec 10, 2021
Added to CIRCL KEV
Dec 10, 2021
Added to ENISA EUVD
Dec 10, 2021
Last updated
Oct 24, 2026
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
- CWE-94 Improper Control of Generation of Code
References
- advisorynvd.nist.gov · CVE-2019-10758
- advisoryGHSA advisory
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
FAQ
Common Questions.
mongo-express before 0.54.0 is vulnerable to Remote Code Execution via endpoints that uses the toBSON method.
Affected: Mongo-Express (Mongo-Express Project) versions >= All versions prior to version 0.54.0. The full list is in the CVE brief.
It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Nov 6, 2020.
Yes. It was added on Dec 10, 2021 with a federal remediation due date of Jun 10, 2022.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including Mongo-Express 0.54.0.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2019-10758 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo