{
  "id": "CVE-2026-81525",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-81525",
  "published_at": "2026-08-27T18:32:26.493Z",
  "title": "Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver",
  "vendor": "MongoDB",
  "product": "PHP Library",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "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"
  },
  "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 MongoDB client library for PHP does not sufficiently sanitize special elements in application-supplied namespace identifiers before using them to construct the target namespace for database operations. An application that incorporates untrusted text into these identifiers may have operations silently directed at a different storage location than the one the application intended.",
  "cwe": "CWE-943",
  "cpes": [
    "cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*",
    "cpe:2.3:a:mongodb:php_library:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MongoDB",
        "product": "PHP Library",
        "ranges": [
          "\u003c 1.21.4",
          "\u003e= 2.0.0, \u003c 2.4.1"
        ],
        "fixed_in": [
          "1.21.4",
          "2.4.1"
        ]
      },
      {
        "vendor": "MongoDB",
        "product": "PHP Extension",
        "ranges": [
          "\u003c 1.21.6",
          "\u003e= 2.0.0, \u003c 2.4.1"
        ],
        "fixed_in": [
          "1.21.6",
          "2.4.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade PHP Library to 1.21.4 or 2.4.1 or later.",
      "Upgrade PHP Extension to 1.21.6 or 2.4.1 or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://github.com/mongodb/mongo-php-library/releases/tag/1.21.4"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/mongodb/mongo-php-library/releases/tag/2.4.1"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.6"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/mongodb/mongo-php-driver/releases/tag/2.4.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
