CVE-2026-6231
CVE-2026-6231 is a medium-severity vulnerability in Mongodb C Driver with a CVSS 3.x base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.
Key facts
- Severity: Medium (CVSS 3.x base score 4.3)
- CVSS v4: 5.3
- EPSS exploit prediction: 0% (8th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-22023
- Weakness: CWE-20
- Affected product: Mongodb C Driver
- Published:
- Last modified:
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
Frequently asked questions
- What is CVE-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, 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
- How severe is CVE-2026-6231?
- CVE-2026-6231 has a CVSS 3.x base score of 4.3, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is none, integrity low, and availability none.
- Is CVE-2026-6231 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (8th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-6231?
- CVE-2026-6231 affects Mongodb C Driver. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-6231?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-6231 have an EU (EUVD) identifier?
- Yes. CVE-2026-6231 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-22023.
- When was CVE-2026-6231 published?
- CVE-2026-6231 was published on 2026-04-13 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*
More vulnerabilities in Mongodb C Driver
- CVE-2026-6691 — High (CVSS 7.8): The MongoDB C Driver's Cyrus SASL integration performs unsafe string copying during username canonicalization, enabling…
- CVE-2024-7553 — High (CVSS 7.3): Incorrect validation of files loaded from a local untrusted directory may allow local privilege escalation if the…
- CVE-2025-12119 — Medium (CVSS 6.8): A mongoc_bulk_operation_t may read invalid memory if large options are passed.
- CVE-2020-12135 — Medium (CVSS 5.5): bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In…
- CVE-2023-0437 — Medium (CVSS 5.3): When calling bson_utf8_validate on some inputs a loop with an exit condition that cannot be reached may occur, i.e. an…
- CVE-2021-32050 — Medium (CVSS 4.2): Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener…
All CVEs affecting Mongodb C Driver →
Other CWE-20 (Improper Input Validation) vulnerabilities
- CVE-2026-48316 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48281 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48277 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48055 — Critical (CVSS 10.0): Streambert is a cross-platform Electron Desktop App to stream and download any video media. In versions 2.4.0 and…
- CVE-2026-34910 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS…
- CVE-2026-33587 — Critical (CVSS 10.0): Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and…
Browse all CWE-20 (Improper Input Validation) vulnerabilities →