Input Validation Flaw in MongoDB C Driver Potentially Exposing Data

5.3MEDIUM

CVE-2026-6231

Key Information:

Vendor

MongoDB

Status
CVE ID
CVE ID:
CVE-2026-6231
Vendor
CVE Published:
13 April 2026
Fixed in
Fixed in:
1.30.5, 2.0.2

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version
C Driver 1.0 to below 1.30.5 is vulnerable
C Driver 2.0 to below 2.0.2 is vulnerable

Install the C Driver release that fixes your version line, or later:

1.30.52.0.2
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach C Driver. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (5.3).

What is CVE-2026-6231?

The bson_validate function within the MongoDB C Driver contains an input validation flaw that can lead to improper handling of untrusted BSON data. This vulnerability allows malicious actors to input malformed or invalid UTF-8 sequences that bypass the expected validation checks. As a result, applications relying on this driver for BSON validation may unknowingly process unauthorized data, potentially exposing them to further security risks. Upgrading to the latest versions is crucial for ensuring proper validation and maintaining data integrity.

References

Use-After-Free Vulnerability in MongoDB Server's Replication Component

CVE-2026-118383
MongodbMongodb ServerπŸ˜„πŸ‘Ύ9.5CRITICAL

TLS Implementation Flaw in MongoDB on macOS for IPv6 Connections

CVE-2026-120808
MongodbMongodb Server9.1CRITICAL

Memory Exhaustion Vulnerability in MongoDB

CVE-2026-25611
MongoDBMongodb Server8.7HIGH
View more MongoDB vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V4

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