CVE-2020-24391: Mongo-Express - Remote Code Execution
- Cve: CVE-2020-24391
- Name: Mongo-Express - Remote Code Execution
- Description: 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.
- Impact: Attackers can execute arbitrary code on the server, potentially leading to full system compromise.
- Remediation: Update to version 1.0.0 or later to fix the issue.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.75088
- Epss percentile: 0.99519
- Assignee: [email protected]
- Published at: 2021-03-30T21:15:13Z
- Age in days: 2065
- Modified at: 2026-06-17T03:05:28Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-24391
- Nvd status: modified
- Checked, none or zero: known exploited entries, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2020-24391 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-24391.yaml |
Hackerone
- Reports: 5
- Rank: 2666
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/mongo-express/mongo-express/commit/3a26b079e7821e0e209c3ee0cc2ae15ad467b91a | nvd | Patch, Third Party Advisory |
| https://github.com/mongodb-js/query-parser/issues/16 | nvd | Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-24391.yaml | nuclei_template | Nuclei Template |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mongo-express_project:mongo-express | <= 0.54.0 | no | nvd | /v1/products/mongo-express_project/mongo-express |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| mongo-express/mongo-express | commit | yes | /v1/repositories/mongo-express/mongo-express |
| mongodb-js/query-parser | issues | yes | /v1/repositories/mongodb-js/query-parser |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Hackerone reports: 5
- Exposed hosts: 254
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, initial access since