CVE-2020-24391 in the critical feed json
Remote code execution in mongo-express
published 2021-03-30 5 y ago modified 2026-06-17 4 mo ago also GHSA-hxmg-hm46-cf62 , EUVD-2021-0834
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 74.5%
- EPSS 74.5% chance of exploitation in 30 days, percentile 99.4%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
mongo-express before 1.0.0 offers support for certain advanced syntax but implements this in an unsafe way. NOTE: this may overlap CVE-2019-10769.
Patch / fix
Exploit prediction
74.52% chance of exploitation in the next 30 days, higher than 99.4% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Mongo-Express - Remote Code Execution nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | mongodb-query-parser | <2.0.0 |
2.0.0 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/mongo-express/mongo-express/commit/3a26b079e7821e0e209c3ee0cc2ae15ad467b91a
web, patch, third-party-advisory
-
github.com
/mongodb-js/query-parser/issues/16
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-24391
advisory
Sources
- CVE List CVE-2020-24391
- GitHub Advisory GHSA-hxmg-hm46-cf62
- NVD CVE-2020-24391
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.