CVE-2021-32050

Authentication-data exposure via unredacted command events

Published Aug 29, 2023 · Updated Nov 3, 2025

Information exposure in affected MongoDB driver releases allows local users to obtain authentication data from command-listener events. The command-monitoring path emits authentication-command fields without redacting security-sensitive values before delivering the event to an application listener. Exposure requires the nondefault command-listener feature and an application that preserves or discloses the event, such as by writing it to a log.

CVSS severity4.2
Medium
EPSS probability0.65%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Information exposure in affected MongoDB driver releases allows local users to obtain authentication data from command-listener events. The command-monitoring path emits authentication-command fields without redacting security-sensitive values before delivering the event to an application listener. Exposure requires the nondefault command-listener feature and an application that preserves or discloses the event, such as by writing it to a log.

The record

CVE
CVE-2021-32050
Published
Aug 29, 2023
Updated
Nov 3, 2025
Vendor
MongoDB
Product
MongoDB Swift Driver
Classifications
CWE-200
Attack vector
local
Privileges
admin

Timeline

How it unfolded

  1. Aug 29, 2023CVE publishedPublication date reported by the CVE source.
  2. Nov 3, 2025Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=1.0.0 <1.1.1

What conditions does exploitation require?

Attack vectorlocal
Required privilegesadmin

What is affected?

MongoDB · MongoDB Swift Driverversion=1.0.0 <1.1.1
MongoDB · MongoDB PHP Driverversion=1.0.0 <1.9.2
MongoDB · MongoDB Node.js Driverversion=3.6 <3.6.10; version=4.0 <4.17.0; version=5.0 <5.8.0
MongoDB · MongoDB C++ Driverversion=1.0.0 <1.17.7; version=3.0.0 <3.7.0

Published CVSS scores

4.2MongoDB, Inc.CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesadmin
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-200Exposure of Sensitive Information to an Unauthorized Actor

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo