BSON Encoding Vulnerability in MongoDB Java Driver by MongoDB
CVE-2026-118581

6.9MEDIUM

Key Information:

Vendor

Mongodb

Vendor
CVE Published:
28 October 2026

What is CVE-2026-118581?

A vulnerability exists in the BSON encoding component of the MongoDB Java Driver, which fails to validate the self-declared length of externally supplied raw documents before copying them into outgoing database commands. This oversight allows malicious applications to manipulate documents, leading to the potential execution of unintended commands by the database. As a result, unauthorized data modifications could occur under the application's credentials without requiring authentication or user interaction.

Affected Version(s)

Java Driver 5.8.0 < 5.14.0

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.