CVE-2026-81526

Cross-database write redirection via unvalidated dotted database name in bulk write namespaces

Published Aug 27, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
The MongoDB Rust Driver does not neutralize special characters in a caller-supplied target identifier before embedding it in the request it sends to the server. An actor able to influence that identifier in an application using the driver may cause write operations to be applied to an unintended target within the same deployment using the application's own credentials. This may result in unauthorized modification of data belonging to another logical boundary enforced by the application.

Analysis

AI-generated

Technical impact

The vulnerability occurs when the Rust driver embeds a caller‑supplied database name without neutralizing special characters, allowing the identifier to contain multiple dots that redirect a write operation to an unintended namespace. An attacker who can influence the target identifier in the application may force the driver to apply writes to a different logical boundary, resulting in unauthorized modification of data belonging to another part of the deployment. The weakness is a form of path traversal in a database context.

Affected Systems

The affected component is the MongoDB Rust Driver. The specific versions affected are not listed in the advisory, but the advisory references a release (v3.8.2) and indicates that the issue existed before that point. Any application that uses the driver and allows untrusted input to specify a database name is potentially impacted.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity. The EPSS score is not available, so no explicit exploitation probability is reported. The vulnerability is not listed in the CISA KEV catalog. Attackers require the ability to influence the database name supplied to the driver, which could be achieved through application logic or user input. Once such influence is possible, the driver will perform the write against the redirection target using the application’s credentials, providing the attacker with unintended access within the same deployment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest MongoDB Rust Driver release that includes the fix.
  • Validate or sanitize all database namespace identifiers before passing them to the driver, ensuring no embedded dots or special characters remain unescaped.
  • Restrict application permissions so that credentials are limited to the namespaces intended for the current operation, reducing the impact if an unintended write occurs.

Generated by OpenCVE AI on August 28, 2026 at 09:11 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 rust Driver
CPEs cpe:2.3:a:mongodb:rust_driver:*:*:*:*:*:mongodb:*:*
Vendors & Products Mongodb rust Driver
Type Values Removed Values Added
First Time appeared Mongodb
Mongodb rust-driver
Vendors & Products Mongodb
Mongodb rust-driver
Type Values Removed Values Added
Description The MongoDB Rust Driver does not neutralize special characters in a caller-supplied target identifier before embedding it in the request it sends to the server. An actor able to influence that identifier in an application using the driver may cause write operations to be applied to an unintended target within the same deployment using the application's own credentials. This may result in unauthorized modification of data belonging to another logical boundary enforced by the application.
Title Cross-database write redirection via unvalidated dotted database name in bulk write namespaces
Weaknesses CWE-74
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'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Aug 28, 2026, 3:48 PM
Reserved
Aug 26, 2026, 10:14 PM
Status
Analyzed
Published
Aug 27, 2026, 8:18 PM
Modified
Sep 29, 2026, 7:16 PM