CVE-2026-6231
Last modified
CVE-2026-6231 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. The bson_validate function may return early on specific inputs and incorrectly report success. This behavior could result in skipping validation for BSON data, allowing malformed or invalid UTF-8 sequences to bypass validation and be processed incorrectly. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
The bson_validate function may return early on specific inputs and incorrectly report success. This behavior could result in skipping validation for BSON data, allowing malformed or invalid UTF-8 sequences to bypass validation and be processed incorrectly. The issue may affect applications that rely on these functions to validate untrusted BSON data before further processing. This issue affects MongoDB C Driver versions prior to 1.30.5, MongoDB C Driver version 2.0.0 and MongoDB C Driver version 2.0.1
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | C Driver | < 1.30.5 |
| Mongodb | C Driver | >= 2.0.0, < 2.0.2 |
References
- https://jira.mongodb.org/browse/CDRIVER-6017Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-6231?
How severe is CVE-2026-6231?
How do I fix CVE-2026-6231?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-62294Flameshot is powerful yet simple to use screenshot software.…5.1
- CVE-2026-62295HAPI FHIR is a complete implementation of the HL7 FHIR stand…7.5
- CVE-2026-62296HAPI FHIR is a complete implementation of the HL7 FHIR stand…7.5
- CVE-2026-62299CoreDNS is a DNS server written in Go. Prior to 1.14.5, the …5.3
- CVE-2026-6230The Tainacan plugin for WordPress is vulnerable to time-base…7.5
- CVE-2026-62309CoreDNS is a DNS server written in Go. Prior to 1.14.4, a si…7.5
- CVE-2026-623129Router is an AI router & token saver. Prior to 0.5.2, 9Rout…8.8
- CVE-2026-62313Incus is a system container and virtual machine manager. Pri…4.3
- CVE-2026-62314Anubis is a Web AI Firewall Utility that challenges users' c…5.8
- CVE-2026-62315Frappe is a full-stack web application framework. In version…7.1
- CVE-2026-62316Microsoft UFO open-source framework for intelligent automati…8.8
- CVE-2026-62317Logto is the modern, open-source auth infrastructure for Saa…7.5
Are you affected by CVE-2026-6231?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
