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).

Published: 2023-08-29 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2021-32050 is rated Low Risk (30.6/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.49%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2021-32050

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.04% 0.49% +0.45%
2 2025-11-21 0.21% 0.04% -0.17%
3 2025-11-18 0.21%

Full EPSS history (12 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2021-32050

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.2 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
0.6 3.6 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2021-32050

GitHub Security Advisory for CVE-2021-32050

GHSA-vxvm-qww3-2fh7 · Severity: medium · Ecosystem: composer — MongoDB Driver may publish events containing authentication-related data

OS Trackers for CVE-2021-32050

vendor priority summary link
debian not yet assigned CVE-2021-32050 not yet assigned priority: Debian including 3 source packages (mongo-c-driver, node-mongodb, php-mongodb), 12 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 9, open 3. https://security-tracker.debian.org/tracker/CVE-2021-32050
ubuntu medium CVE-2021-32050 medium priority: Ubuntu including 3 source packages (mongo-c-driver, node-mongodb, php-mongodb), 36 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 18, needs-triage 12, not-affected 5, released 1. https://ubuntu.com/security/CVE-2021-32050

Affected software / configurations for CVE-2021-32050

Vendor Product Version Raw CPE
mongodb c\+\+ >= 1.0.0, < 1.17.7 cpe:2.3:a:mongodb:c\+\+:*:*:*:*:*:mongodb:*:*
mongodb c_driver >= 1.0.0, < 1.17.7 cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*
mongodb node.js >= 3.6, < 3.6.10 cpe:2.3:a:mongodb:node.js:*:*:*:*:*:mongodb:*:*
mongodb node.js >= 4.0, < 4.17.0 cpe:2.3:a:mongodb:node.js:*:*:*:*:*:mongodb:*:*
mongodb node.js >= 5.0, < 5.8.0 cpe:2.3:a:mongodb:node.js:*:*:*:*:*:mongodb:*:*
mongodb php_driver >= 1.0.0, < 1.9.2 cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*
mongodb swift_driver >= 1.0.0, < 1.1.1 cpe:2.3:a:mongodb:swift_driver:*:*:*:*:*:mongodb:*:*

References for CVE-2021-32050

cvelogic Threat Intelligence