PoC Monitor
← All CVEs
CVE-2026-6231published 13 Apr 2026 15:31 UTCData: JSON · API

MongoDB Inc. C Driver

bson_validate may skip validation when processing certain inputs

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

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-20
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

MongoDB Inc. C Driver
  • >= 1.0, < 1.30.5
  • >= 2.0, < 2.0.2

Fixed in 1.30.5, 2.0.2

Mitigation

Upgrade C Driver to 1.30.5 or 2.0.2 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published13 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.