CVE-2026-6231
published 2026-04-13CVE-2026-6231: The bson_validate function may return early on specific inputs and incorrectly report success. This behavior could result in skipping validation for BSON data…
PriorityP345high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
0.18%
8.2th percentile
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
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| mongodb | c_driver | < 1.30.5 | 1.30.5 |
| mongodb | c_driver | >= 2.0.0 < 2.0.2 | 2.0.2 |
| mongodb_inc | c_driver | >= 1.0 < 1.30.5 | 1.30.5 |
| mongodb_inc | c_driver | >= 2.0 < 2.0.2 | 2.0.2 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv4.05.3MEDIUMCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-q869-m422-4qcv: The bson_validate function may return early on specific inputs and incorrectly report success
ghsa_unreviewed·2026-04-13
CVE-2026-6231 [MEDIUM] CWE-20 GHSA-q869-m422-4qcv: The bson_validate function may return early on specific inputs and incorrectly report success
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
VulDB
MongoDB C Driver up to 1.30.4/2.0.1 bson_validate input validation
vuldb·2026-04-13·CVSS 5.3
CVE-2026-6231 [MEDIUM] MongoDB C Driver up to 1.30.4/2.0.1 bson_validate input validation
A vulnerability was found in MongoDB C Driver up to 1.30.4/2.0.1. It has been classified as problematic. The affected element is the function bson_validate. This manipulation causes improper input validation.
This vulnerability is tracked as CVE-2026-6231. The attack is possible to be carried out remotely. No exploit exists.
Upgrading the affected component is recommended.
No detection rules found.
No public exploits indexed.
2026-04-13
Published