Skip to main content
← All vulnerabilities
CVE-2026-81525GHSA-65FR-J4P9-VC33

Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver

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

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • MongoDB PHP Library

    fixed in 1.21.4; From 2.0.0 · fixed in 2.4.1

  • MongoDB PHP Extension

    fixed in 1.21.6; From 2.0.0 · fixed in 2.4.1

  • mongodb/mongodbPackagist

    fixed in 1.21.4

  • mongodb/mongodbPackagist

    From 2.0.0 · fixed in 2.4.1

References 5

jira.mongodb.org

GitHub · mongodb/mongo-php-library

GitHub · mongodb/mongo-php-driver