CVE-2026-120673

Rust Driver 3.9.1 exports CSFLE plaintext in `db.query.text` before encrypting the command

Published Nov 3, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
A component of the MongoDB Rust Driver that records diagnostic tracing data can capture command content before automatic client-side field level encryption is applied. In deployments that turn on the optional tracing capability together with automatic in-use encryption, a party with read access to the application's exported trace data may obtain field values that the application designated for encryption, without access to the encryption keys. This may result in unintended disclosure of data.

Analysis

AI-generated

Technical impact

The MongoDB Rust Driver exposes command content in the diagnostic tracing data before it is encrypted by client‑side field‑level encryption. This flaw allows an attacker who can read the exported trace output to obtain plain text values of fields that were intended to remain encrypted, leading to unintended disclosure of sensitive data.

Affected Systems

MongoDB Rust Driver version 3.9.1 is affected when logging is enabled together with automatic in‑use encryption. No other affected versions are listed in the available data.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity. The EPSS score is not available, but the vulnerability has not been listed in the CISA KEV catalog. Exploitation requires that the attacker can access the exported trace data, which is typically limited to users with read permissions on the application’s tracing logs or an insider with such access. The attack vector is therefore inferred to be through compromised or improperly secured trace output rather than remote network exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a MongoDB Rust Driver release that fixes the tracing export of plaintext data.
  • Disable the optional tracing feature or restrict trace output to authorized users only.
  • Ensure trace files are stored in secure, access‑controlled directories and that permissions deny read access to unauthenticated or unprivileged parties.

Generated by OpenCVE AI on November 4, 2026 at 09:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb rust Driver
Vendors & Products Mongodb
Mongodb rust Driver
Type Values Removed Values Added
Description A component of the MongoDB Rust Driver that records diagnostic tracing data can capture command content before automatic client-side field level encryption is applied. In deployments that turn on the optional tracing capability together with automatic in-use encryption, a party with read access to the application's exported trace data may obtain field values that the application designated for encryption, without access to the encryption keys. This may result in unintended disclosure of data.
Title Rust Driver 3.9.1 exports CSFLE plaintext in `db.query.text` before encrypting the command
Weaknesses CWE-532
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-532

    Insertion of Sensitive Information into Log File

  • CWE-538

    Insertion of Sensitive Information into Externally-Accessible File or Directory

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Nov 3, 2026, 8:12 PM
Reserved
Nov 2, 2026, 7:02 PM
Status
Awaiting Analysis
Published
Nov 3, 2026, 7:17 PM
Modified
Nov 3, 2026, 9:17 PM
Severity
Moderate
Public date
Nov 3, 2026, 6:33 PM