CVEBrief

Home / MongoDB Inc / MongoDB C Driver / CVE-2021-32050

CVE-2021-32050: is it exploited, and which versions of MongoDB Inc MongoDB C Driver are affected and fixed?

CVE-2021-32050 is an information disclosure vulnerability in MongoDB Inc MongoDB C Driver. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: mongodb/mongodb from 1.0.0 before 1.9.2, mongodb from 3.6.0 before 3.6.10, mongodb from 4.0.0 before 4.17.0 and 2 more (GitHub advisory GHSA-vxvm-qww3-2fh7). Fixed in 1.9.2, 3.6.10, 4.17.0, 5.8.0 and 1 more (GitHub advisory GHSA-vxvm-qww3-2fh7). Severity: Medium (4.2, CVSS 3.1, from mongodb).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:36 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:38 UTC
Affected
mongodb/mongodb from 1.0.0 before 1.9.2, mongodb from 3.6.0 before 3.6.10, mongodb from 4.0.0 before 4.17.0 and 2 more
GitHub advisory GHSA-vxvm-qww3-2fh7
Fixed in
1.9.2, 3.6.10, 4.17.0, 5.8.0 and 1 more
GitHub advisory GHSA-vxvm-qww3-2fh7
Severity
Medium 4.2
CVSS 3.1 from mongodb
Exploit odds (EPSS)
0.65% in 30 days
higher than 52% of CVEs; FIRST, December 2, 2026

What is CVE-2021-32050?

Some MongoDB Drivers may publish events containing authentication-related data to a command listener configured by an application

Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published events may contain security-sensitive data when specific authentication-related commands are executed. Without due care, an application may inadvertently expose this sensitive information, e.g., by writing it to a log file. This issue only arises if an application enables the command listener feature (this is not enabled by default). This issue affects the MongoDB C Driver 1.0.0 prior to 1.17.7, MongoDB PHP Driver 1.0.0 prior to 1.9.2, MongoDB Swift Driver 1.0.0 prior to 1.1.1, MongoDB Node.js Driver 3.6 prior to 3.6.10, MongoDB Node.js Driver 4.0 prior to 4.17.0 and MongoDB Node.js Driver 5.0 prior to 5.8.0. This issue also affects users of the MongoDB C++ Driver dependent on the C driver 1.0.0 prior to 1.17.7 (C++ driver prior to 3.7.0).

From the CVE record by mongodb, last updated November 3, 2025, 19:25 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
MongoDB IncMongoDB C Driverfrom 1.0.0 before 1.17.71.17.7
MongoDB IncMongoDB C++ Driverfrom 3.0.0 before 3.7.03.7.0
MongoDB IncMongoDB PHP Driverfrom 1.0.0 before 1.9.21.9.2
MongoDB IncMongoDB Swift Driverfrom 1.0.0 before 1.1.11.1.1
MongoDB IncMongoDB Node.js Driverfrom 3.6 before 3.6.10
from 4.0 before 4.17.0
from 5.0 before 5.8.0
3.6.10, 4.17.0, 5.8.0

As the CVE record by mongodb states it, last updated November 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Packagistmongodb/mongodb>= 1.0.0, < 1.9.21.9.2GHSA-vxvm-qww3-2fh7
npmmongodb>= 3.6.0, < 3.6.103.6.10GHSA-vxvm-qww3-2fh7
npmmongodb>= 4.0.0, < 4.17.04.17.0GHSA-vxvm-qww3-2fh7
npmmongodb>= 5.0.0, < 5.8.05.8.0GHSA-vxvm-qww3-2fh7
SwiftURLgithub.com/mongodb/mongo-swift-driver>= 1.0.0, < 1.1.11.1.1GHSA-vxvm-qww3-2fh7

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 3, 2025. Summary: MongoDB Driver may publish events containing authentication-related data.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
mongodbc\+\+from 1.0.0 before 1.17.7application
mongodbc driverfrom 1.0.0 before 1.17.7application
mongodbnode.jsfrom 3.6 before 3.6.10application
mongodbnode.jsfrom 4.0 before 4.17.0application
mongodbnode.jsfrom 5.0 before 5.8.0application
mongodbphp driverfrom 1.0.0 before 1.9.2application
mongodbswift driverfrom 1.0.0 before 1.1.1application

NVD analysis (status Modified), last modified June 17, 2026, 03:52 UTC.

How severe is CVE-2021-32050?

ScoreVersionVectorSource
Medium 4.2CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:Nmongodb
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2021-32050 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 30, 2024)
EPSS
0.65% probability of exploitation activity in the next 30 days, percentile 52.3 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
May 5, 2021
Published
August 29, 2023, 15:24 UTC
CVE record updated
November 3, 2025, 19:25 UTC by mongodb
NVD
Modified, last modified June 17, 2026, 03:52 UTC
Last checked
CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:36 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect MongoDB C Driver?

Every CVE in MongoDB C Driver

Questions about CVE-2021-32050

Is CVE-2021-32050 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.65% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of MongoDB Inc MongoDB C Driver are affected by CVE-2021-32050?

mongodb/mongodb from 1.0.0 before 1.9.2, mongodb from 3.6.0 before 3.6.10, mongodb from 4.0.0 before 4.17.0, mongodb from 5.0.0 before 5.8.0 and github.com/mongodb/mongo-swift-driver from 1.0.0 before 1.1.1, per the GitHub advisory GHSA-vxvm-qww3-2fh7. The tables above give every range the sources list.

Which version fixes CVE-2021-32050?

1.9.2, 3.6.10, 4.17.0, 5.8.0 and 1.1.1, per the GitHub advisory GHSA-vxvm-qww3-2fh7. Check the vendor's advisory before you rely on it.

How severe is CVE-2021-32050?

Medium (4.2, CVSS 3.1, from mongodb). The severity table above shows each score with its source.

Where is the official record of CVE-2021-32050?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.