Skip to content
Heist/ feed
Back to feed
High

mongo-cxx-driver — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-81522

A weakness in the MongoDB C++ Driver's handling of caller-supplied namespace identifiers allows special characters embedded in those identifiers. An application that builds a namespace identifier from untrusted input without validating it may therefore have its operation directed at a different target than intended. This can result in limited unauthorized read and write access to data belonging to another logical tenant of the affected application.

Products
mongo-cxx-driver
Affected versions
4.4.0-1, 4.5.0-1
Fixed versions
Not specified
CVEs
CVE-2026-81522
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:20 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-81522

core-osv · Original source

Published 27 Aug 2026, 20:18 UTC

A weakness in the MongoDB C++ Driver's handling of caller-supplied namespace identifiers allows special characters embedded in those identifiers. An application that builds a namespace identifier from untrusted input without validating it may therefore have its operation directed at a different target than intended. This can result in limited unauthorized read and write access to data belonging to another logical tenant of the affected application.

osv:UBUNTU-CVE-2026-81522

mongo-cxx-driver

Fixed versions: Not specified

Complete source record
{
  "id": "e6404eac3bdaaab0c507462d22dd170d58906f27f73668097a605922b377fd34",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-81522",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-81522",
    "summary": "A weakness in the MongoDB C++ Driver's handling of caller-supplied namespace identifiers allows special characters embedded in those identifiers. An application that builds a namespace identifier from untrusted input without validating it may therefore have its operation directed at a different target than intended. This can result in limited unauthorized read and write access to data belonging to another logical tenant of the affected application.",
    "evidence": "osv:UBUNTU-CVE-2026-81522",
    "products": [
      {
        "name": {
          "value": "mongo-cxx-driver",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.4.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.5.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-81522",
      "aliases": [
        "UBUNTU-CVE-2026-81522"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
        },
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "mongo-cxx-driver",
            "purl": "pkg:deb/ubuntu/mongo-cxx-driver?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "4.4.0-1",
            "4.5.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-81522.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libbsoncxx1-1",
                "binary_version": "4.5.0-1"
              },
              {
                "binary_name": "libmongocxx1-1",
                "binary_version": "4.5.0-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:10.379726831Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-81522"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-81522",
        "https://www.cve.org/CVERecord?id=CVE-2026-81522",
        "https://jira.mongodb.org/browse/CXX-3552",
        "https://github.com/mongodb/mongo-cxx-driver/releases/tag/r4.5.1"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-81522",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 361123,
  "published_at": "2026-08-27T20:18:00+00:00"
}