Live threats

All CVEs / Mongodb

CVE-2026-81525Mongodb Php Driver

High 8.6

Priority
52
CVSS 4.0
8.6
EPSS
—
Auth required
Yes
Published
Aug 27, 2026
Updated
Sep 29, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-943
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php Driver.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist mongodb/mongodb < 1.21.4 1.21.4 composer require "mongodb/mongodb:^1.21.4"
Packagist mongodb/mongodb ≥ 2.0.0 < 2.4.1 2.4.1 composer require "mongodb/mongodb:^2.4.1"

Per OSV / GitHub Advisories (GHSA-65fr-j4p9-vc33). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mongodbphp_driver< 1.21.6
mongodbphp_driver≥ 2.0.0 < 2.4.1
mongodbphp_library< 1.21.4
mongodbphp_library≥ 2.0.0 < 2.4.1

Official sources

References

Links published by the sources. Open them with care.