CVE-2026-81525

Source
https://cve.org/CVERecord?id=CVE-2026-81525
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81525.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-81525
Downstream
Published
2026-08-27T18:32:26.493Z
Modified
2026-08-29T11:31:20.581895011Z
Severity
  • 8.6 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81525.json",
    "cwe_ids": [
        "CWE-943"
    ],
    "cna_assigner": "mongodb"
}
References

Affected packages

Git / github.com/mongodb/mongo-php-driver

Affected ranges

Type
GIT
Repo
https://github.com/mongodb/mongo-php-driver
Events
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.21.4"
        },
        {
            "fixed": "1.21.6"
        },
        {
            "introduced": "2.0.0"
        },
        {
            "fixed": "2.4.1"
        }
    ]
}
Type
GIT
Repo
https://github.com/mongodb/mongo-php-library
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "source": "REFERENCES"
}

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.2.0
0.3.0
0.3.1
0.4.0
0.4.1
0.5.0
0.5.1
0.6.0
0.6.1
0.6.2
0.6.3
1.*
1.0.0
1.0.0-alpha1
1.0.0-beta1
1.0.0-beta2
1.0.0RC0
1.0.0alpha1
1.0.0alpha2
1.0.0beta1
1.0.0beta2
1.0.1
1.1.0
1.1.0-alpha1
1.1.1
1.1.2
1.1.3
1.1.4
1.10.0
1.10.0alpha1
1.11.0
1.11.0alpha1
1.12.0
1.13.0
1.13.0-beta1
1.14.0
1.14.0beta1
1.15.0
1.16.0
1.17.0
1.18.0
1.19.0
1.2.0
1.2.0-alpha1
1.2.0alpha1
1.2.0alpha2
1.2.0alpha3
1.2.1
1.2.2
1.2.3
1.21.0
1.21.1
1.21.2
1.21.3
1.21.4
1.21.5
1.3.0
1.3.0RC1
1.3.0beta1
1.3.0beta2
1.3.1
1.4.0
1.4.0RC1
1.4.0beta1
1.4.1
1.4.2
1.5.0
1.6.0
1.6.0RC1
1.6.0alpha1
1.6.0alpha2
1.6.0alpha3
1.7.0-beta1
1.8.0-RC1
1.9.0
1.9.0-alpha1
2.*
2.0.0
2.1.0
2.2.0
2.3.0
2.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81525.json"