[ CVE-2026-118581 · Published 28 Oct 2026 ]
Vulnerability in MongoDB Java Driver
[ Description ]Official description
A BSON encoding component of the MongoDB Java Driver does not verify that an externally supplied raw document's self-declared length agrees with the extent of the byte range it is given before that range is copied into an outgoing database command. An application that wraps untrusted raw bytes in such a document and uses it as part of a command can therefore emit a structurally inconsistent message, causing the database to interpret attacker-supplied trailing content as additional fields of the surrounding command. No authentication to the driver or database is required beyond the ability to influence those bytes through the victim application, and no user interaction is needed. The result is unintended modification of the command actually executed, which can alter the data read or written under the application's credentials.
[ Fixes ]Fixes and patches
- Security bulletin: MongoDB r5.14.0Vendor patch or bulletin · CERT-FR · github.com/mongodb/mongo-java-driver/releases/tag/r5.14.0, cited by CERT-FR CERTFR-2026-AVI-1430
- Security bulletin: MongoDB dbtools-100.20.0-changelogVendor patch or bulletin · CERT-FR · mongodb.com/docs/database-tools/release-notes/dbtools-100.20.0-changel, cited by CERT-FR CERTFR-2026-AVI-1430
- Security bulletin: MongoDB 5.12.0Vendor patch or bulletin · CERT-FR · github.com/mongodb/laravel-mongodb/releases/tag/5.12.0, cited by CERT-FR CERTFR-2026-AVI-1430
[ Advisories ]Government CERT advisories
-
CERT-FRCERTFR-2026-AVI-1430
Multiple vulnerabilities in MongoDB products Translated from French
Multiple vulnerabilities have been discovered in MongoDB products. Some of them allow an attacker to cause a breach of data integrity, SQL injection (SQLi) and a security policy bypass.