CVE-2026-81525

NameCVE-2026-81525
DescriptionThe 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php-mongodb (PTS)bullseye1.9.0+1.7.5-2vulnerable
bookworm1.15.0+1.11.1+1.9.2+1.7.5-1vulnerable
trixie2.0.0-1vulnerable
forky, sid2.1.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php-mongodbsource(unstable)(unfixed)

Notes

[trixie] - php-mongodb <no-dsa> (Minor issue)
https://jira.mongodb.org/browse/PHPLIB-1927

Search for package or bug name: Reporting problems