Skip to main content
← All vulnerabilities
CVE-2026-6231

bson_validate may skip validation when processing certain inputs

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.30.5, 2.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MongoDB Inc. C Driver

    From 1.0 · fixed in 1.30.5; From 2.0 · fixed in 2.0.2

References 1

jira.mongodb.org