Patch Forecast
Yellow warning
Plan into this sprint.

CVE-2026-118581

A BSON encoding component of the MongoDB Java Driver does not verify that an externally supplied…

Risk score
41/100
CVSS
6.5 v3.1
Exploit chance (30 days)
0.2%
Published
28 Oct 2026

Open in the live forecast Today's forecast

What to know

What it is
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 u…
Affected
See advisory
Fix
Apply the vendor's security update; see the linked advisory.
Exploitation
No known exploitation

Why it is Yellow

  • CVSS 6.5 medium

References

Original 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.

Last activity 28 Oct 2026. Patch Forecast updates every hour.