Description
An authenticated user with write privileges on a Queryable Encryption-enabled collection may be able to modify internal encryption metadata fields that are intended to be server-controlled, by sending crafted write commands through the mongos router on a sharded cluster. This can result in corruption of encrypted query correctness.
Published: 2026-07-22
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

MongoDB Server, when running a sharded cluster with Queryable Encryption enabled, allows an authenticated user who has write rights on an encrypted collection to submit crafted write commands through the mongos router. The server incorrectly validates internal encryption metadata fields, which are intended to be immutable. An attacker can therefore alter these fields, leading to corruption of query correctness and potentially causing protected data to be returned incorrectly or accessed in unintended ways. The weakness is classified as CWE‑441, indicating a failure to properly validate internal data structures.

Affected Systems

The vulnerability is confined to MongoDB Server instances that are part of a sharded cluster and have Queryable Encryption enabled. The only known affected vendor/product is MongoDB Server. No specific version numbers are listed in the available information, so all releases that support sharded Queryable Encryption are potentially vulnerable until a patch is applied.

Risk and Exploitability

The CVSS score of 7.1 demonstrates a high‑severity issue. However, the EPSS score of < 1% shows that the probability of exploitation is very low, and the vulnerability is not currently listed in CISA KEV, implying that a public exploit has not been observed. Attackers would need to be authenticated and possess write permissions on the target encrypted collection, limiting the vector to insider threats or accounts that have been compromised. While the risk to organizations that enable Queryable Encryption and grant broad write privileges is moderate to high, the overall likelihood of a real‑world compromise remains low under the present circumstances.

Generated by OpenCVE AI on August 3, 2026 at 23:17 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor‑issued patch or upgrade to the latest MongoDB Server release that addresses SERVER‑127831.
  • Limit write permissions on Queryable Encryption‑enabled collections to trusted administrative accounts to prevent unauthorized modifications of encryption metadata.
  • Configure and routinely review audit logging or monitoring to detect anomalous write operations targeting internal flags, enabling timely detection and containment.

Generated by OpenCVE AI on August 3, 2026 at 23:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 06:15:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server

Wed, 22 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
Description An authenticated user with write privileges on a Queryable Encryption-enabled collection may be able to modify internal encryption metadata fields that are intended to be server-controlled, by sending crafted write commands through the mongos router on a sharded cluster. This can result in corruption of encrypted query correctness.
Title MongoDB mongos Improper Validation of Internal Flags in Queryable Encryption Write Commands on Sharded Clusters
Weaknesses CWE-441
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Mongodb Mongodb Mongodb Server
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-07-23T14:23:30.353Z

Reserved: 2026-06-23T18:00:05.239Z

Link: CVE-2026-13062

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-22T20:16:44.263

Modified: 2026-08-05T14:50:15.000

Link: CVE-2026-13062

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:30:17Z

Weaknesses
  • CWE-441

    Unintended Proxy or Intermediary ('Confused Deputy')