CVE-2020-24391
CRITICAL 9.8CVSS 3.1Remote code execution in mongo-express
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.
- Published
- 30 Mar 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-hxmg-hm46-cf62
- Sources
- NVDJSONOSV GHSA-hxmg-hm46-cf62JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mongo-express_project | mongo-expresscpe:2.3:a:mongo-express_project:mongo-express:*:*:*:*:*:node.js:*:* |
<= 0.54.0 | |
| OSV | npm | mongodb-query-parser | < 2.0.0 | 2.0.0 |
References
- https://github.com/mongo-express/mongo-express/commit/3a26b079e7821e0e209c3ee0cc2ae15ad467b91a · Patch, Third Party Advisory, WEB
- https://github.com/mongodb-js/query-parser/issues/16 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-24391 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 30 Mar 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Apr 2021)