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.
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?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| MongoDB Inc | MongoDB C Driver | from 1.0.0 before 1.17.7 | 1.17.7 |
| MongoDB Inc | MongoDB C++ Driver | from 3.0.0 before 3.7.0 | 3.7.0 |
| MongoDB Inc | MongoDB PHP Driver | from 1.0.0 before 1.9.2 | 1.9.2 |
| MongoDB Inc | MongoDB Swift Driver | from 1.0.0 before 1.1.1 | 1.1.1 |
| MongoDB Inc | MongoDB Node.js Driver | from 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?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | mongodb/mongodb | >= 1.0.0, < 1.9.2 | 1.9.2 | GHSA-vxvm-qww3-2fh7 |
| npm | mongodb | >= 3.6.0, < 3.6.10 | 3.6.10 | GHSA-vxvm-qww3-2fh7 |
| npm | mongodb | >= 4.0.0, < 4.17.0 | 4.17.0 | GHSA-vxvm-qww3-2fh7 |
| npm | mongodb | >= 5.0.0, < 5.8.0 | 5.8.0 | GHSA-vxvm-qww3-2fh7 |
| SwiftURL | github.com/mongodb/mongo-swift-driver | >= 1.0.0, < 1.1.1 | 1.1.1 | GHSA-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?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mongodb | c\+\+ | from 1.0.0 before 1.17.7 | application |
| mongodb | c driver | from 1.0.0 before 1.17.7 | application |
| mongodb | node.js | from 3.6 before 3.6.10 | application |
| mongodb | node.js | from 4.0 before 4.17.0 | application |
| mongodb | node.js | from 5.0 before 5.8.0 | application |
| mongodb | php driver | from 1.0.0 before 1.9.2 | application |
| mongodb | swift driver | from 1.0.0 before 1.1.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:52 UTC.
How severe is CVE-2021-32050?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.2 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N | mongodb |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
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?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-532 Insertion of Sensitive Information into Log File
Where are the vendor advisories and references?
- https://jira.mongodb.org/browse/PHPC-1869
- https://jira.mongodb.org/browse/CXX-2028
- https://jira.mongodb.org/browse/SWIFT-1229
- https://jira.mongodb.org/browse/CDRIVER-3797
- https://jira.mongodb.org/browse/NODE-3356
- https://security.netapp.com/advisory/ntap-20231006-0001/
- https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html
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?
- May 6, 2026CVE-2026-6691 MongoDB Inc. MongoDB C Driver: buffer overflow
- Mar 17, 2026CVE-2026-4359 MongoDB Inc MongoDB C Driver: improper Neutralization of Null Byte or NUL Character
- Aug 7, 2024CVE-2024-7553 MongoDB Inc MongoDB Server: improper access control
- Jan 12, 2024CVE-2023-0437 MongoDB Inc MongoDB C Driver: infinite loop (denial of service)
- May 13, 2021CVE-2021-20331 MongoDB Inc. MongoDB C# Driver: information disclosure
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.