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
Install the C Driver release that fixes your version line, or later:
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
More MongoDB Vulnerabilities
Use-After-Free Vulnerability in MongoDB Server's Replication Component
TLS Implementation Flaw in MongoDB on macOS for IPv6 Connections
Memory Exhaustion Vulnerability in MongoDB
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction