{
  "id": "CVE-2026-6231",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-6231",
  "published_at": "2026-04-13T15:31:55.735Z",
  "title": "bson_validate may skip validation when processing certain inputs",
  "vendor": "MongoDB Inc.",
  "product": "C Driver",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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",
  "cwe": "CWE-20",
  "cpes": [
    "cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.3,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MongoDB Inc.",
        "product": "C Driver",
        "ranges": [
          "\u003e= 1.0, \u003c 1.30.5",
          "\u003e= 2.0, \u003c 2.0.2"
        ],
        "fixed_in": [
          "1.30.5",
          "2.0.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade C Driver to 1.30.5 or 2.0.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
