Skip to content
Vulnerability Intelligence

CVE-2020-24391

Critical

Remote code execution in mongo-express

Published Apr 13, 2021 · Updated Jul 9, 2026 · Also known as GHSA-hxmg-hm46-cf62

Key Facts

Patch immediately
  • CVE-2020-24391 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Mongo-Express (Mongo-Express Project), mongodb-query-parser (npm).
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 75% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Mongo-Express <=0.54.0, mongodb-query-parser 2.0.0, Mongo-Express 0.54.0.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

75%

Higher than 99.4% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

None known

Get the full CVE-2020-24391 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Affected Products

2 affected entries in total
ProductAffected versionsFixed in
Mongo-ExpressMongo-Express ProjectSee advisory0.54.0
mongodb-query-parsernpmSee advisory2.0.0

Patched Releases

Mongo-Express

<=0.54.0

mongodb-query-parser

2.0.0

Timeline

  1. Publicly disclosed

    Apr 13, 2021

  2. Last updated

    Jul 9, 2026

Weakness Type

  • CWE-20 Improper Input Validation

References

FAQ

Common Questions.

Is CVE-2020-24391 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo