Read the docs
TI-2026-56246 Aliases CVE-2026-81525GHSA-65fr-j4p9-vc33

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

Priority MEDIUM 40CWE-943Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00489 42nd percentileScored 2026-11-07
Fix Fixed PHP Library (MongoDB): 1.21.4, 2.4.1PHP Extension (MongoDB): 1.21.6, 2.4.1+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBPHP Librarybefore 1.21.4; 2.0.0 to before 2.4.11.21.4, 2.4.1Patch availableCNA
MongoDBPHP Extensionbefore 1.21.6; 2.0.0 to before 2.4.11.21.6, 2.4.1Patch availableCNA
—mongodb/mongodb (Packagist)before 1.21.41.21.4Patch availableGHSA-65fr-j4p9-vc33
—mongodb/mongodb (Packagist)2.0.0 to before 2.4.12.4.1Patch availableGHSA-65fr-j4p9-vc33
  • PHP Library VendorMongoDB Affected before 1.21.4; 2.0.0 to before 2.4.1 Fixed in 1.21.4, 2.4.1 Patch available CNA
  • PHP Extension VendorMongoDB Affected before 1.21.6; 2.0.0 to before 2.4.1 Fixed in 1.21.6, 2.4.1 Patch available CNA
  • mongodb/mongodb (Packagist) Vendor— Affected before 1.21.4 Fixed in 1.21.4 Patch available GHSA-65fr-j4p9-vc33
  • mongodb/mongodb (Packagist) Vendor— Affected 2.0.0 to before 2.4.1 Fixed in 2.4.1 Patch available GHSA-65fr-j4p9-vc33

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*before 1.21.6; 2.0.0 to before 2.4.1VulnerableMongoDB
cpe:2.3:a:mongodb:php_library:*:*:*:*:*:*:*:*before 1.21.4; 2.0.0 to before 2.4.1VulnerableMongoDB
  • cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:* Versions before 1.21.6; 2.0.0 to before 2.4.1 Vulnerable ·MongoDB
  • cpe:2.3:a:mongodb:php_library:*:*:*:*:*:*:*:* Versions before 1.21.4; 2.0.0 to before 2.4.1 Vulnerable ·MongoDB

Remediation

  • Fix · CNA PHP Library (MongoDB) Fixed in 1.21.4, 2.4.1
  • Fix · CNA PHP Extension (MongoDB) Fixed in 1.21.6, 2.4.1
  • Fix · GHSA-65fr-j4p9-vc33 mongodb/mongodb (Packagist) Fixed in 1.21.4 Advisory →
  • Fix · GHSA-65fr-j4p9-vc33 mongodb/mongodb (Packagist) Fixed in 2.4.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-81525
  2. 2026-10-03 Alias added: GHSA-65fr-j4p9-vc33

References

  • TI-2026-58391 Heap out-of-bounds read via corrupt nested BSON in field path error message CVSS 4.0MEDIUM 6.9
  • TI-2024-07001 Accessing Untrusted Directory May Allow Local Privilege Escalation CVSS 3.1HIGH 7.8
  • TI-2021-12015 Information disclosure in MongoDB C Driver CVSS 3.1HIGH 7.5
  • TI-2025-11114 Bulk write with options may read invalid memory CVSS 4.0MEDIUM 6.9
  • TI-2026-69733 Unchecked BSON encoder return values in MongoDB PHP Driver CVSS 4.0MEDIUM 6.3
  • TI-2026-05975 PHP Stack Exhaustion CVSS 4.0MEDIUM 6.0
See all 7 →

Sources