SecurityContext

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

IdName
NVD-CWE-noinfo—

Nuclei templates

IdUrl
CVE-2020-24391https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-24391.yaml

Hackerone

  • Reports: 5
  • Rank: 2666

References

UrlSourceTags
https://github.com/mongo-express/mongo-express/commit/3a26b079e7821e0e209c3ee0cc2ae15ad467b91anvdPatch, Third Party Advisory
https://github.com/mongodb-js/query-parser/issues/16nvdThird Party Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-24391.yamlnuclei_templateNuclei Template

Products

ProductAffectedPlatform boundSourcesUrl
mongo-express_project:mongo-express<= 0.54.0nonvd/v1/products/mongo-express_project/mongo-express

Projects

RepositoryLink kindsIndexedUrl
mongo-express/mongo-expresscommityes/v1/repositories/mongo-express/mongo-express
mongodb-js/query-parserissuesyes/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

Nuclei template