CVE-2026-6231
Received Received - Intake

Validation Bypass in MongoDB C Driver BSON Processing

Vulnerability report for CVE-2026-6231, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-13

Last updated on: 2026-05-06

Assigner: MongoDB, Inc.

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

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-13
Last Modified
2026-05-06
Generated
2026-07-06
AI Q&A
2026-04-13
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
mongodb c_driver to 1.30.5 (exc)
mongodb c_driver From 2.0.0 (inc) to 2.0.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-20 The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The vulnerability exists in the bson_validate function of the MongoDB C Driver. This function may return early on certain inputs and incorrectly report that the BSON data is valid. As a result, malformed or invalid UTF-8 sequences can bypass validation and be processed incorrectly.

This issue affects applications that rely on the bson_validate function to check untrusted BSON data before processing it further.

Impact Analysis

Because the bson_validate function may incorrectly validate malformed BSON data, applications using this function might process invalid or malicious data without proper checks.

This can lead to incorrect application behavior, potential data corruption, or security issues due to processing unexpected or malformed input.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-6231. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart