Skip to main content
CVE-2026-81525VulnerabilityPublished Updated

Php mongodb: The MongoDB client library for PHP does not sufficiently sanitize special elements in

Affects php-mongodbSource GCVE Database

0
Compare
Authoritative record:CVE-2026-81525· High 8.6

Not known to be exploited · CVSS 8.6 High.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10php-mongodbpkg:deb/ubuntu/php-mongodb?arch=source&distro=stonkingOther threatsAffected
  • =2.1.7-0ubuntu1
  • =2.1.7-0ubuntu2
Fixed in–
Ubuntu 26.04 LTSphp-mongodbpkg:deb/ubuntu/php-mongodb?arch=source&distro=resoluteOther threatsAffected
  • =2.1.0-1
  • =2.1.7-0ubuntu1
Fixed in–
Ubuntu 24.04 LTSphp-mongodbpkg:deb/ubuntu/php-mongodb?arch=source&distro=nobleOther threatsAffected
  • 1.15.0+1.11.1+1.9.2+1.7.5-1build1 – 1.15.0+1.11.1+1.9.2+1.7.5-1ubuntu3
4 affected builds
Fixed in–
Ubuntu 22.04 LTSphp-mongodbpkg:deb/ubuntu/php-mongodb?arch=source&distro=jammyOther threatsAffected
  • 1.9.0+1.7.5-2build2 – 1.12.0+1.9.2+1.7.5-4
4 affected builds
Fixed in–
Ubuntu 20.04 LTSphp-mongodbpkg:deb/ubuntu/php-mongodb?arch=source&distro=focalOther threatsAffected
  • =1.5.5-1build1
  • =1.6.1-4
  • =1.6.1-4build1
Fixed in–
Ubuntu 18.04 LTSphp-mongodbpkg:deb/ubuntu/php-mongodb?arch=source&distro=bionicOther threatsAffected
  • =1.2.3-1build1
  • =1.3.4-1build1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, avoid incorporating untrusted text into namespace identifiers used by the PHP MongoDB client library to prevent unintended redirection of database operations.

Description

The PHP MongoDB client library has a vulnerability where it does not properly sanitize special elements in namespace identifiers supplied by applications. This can cause database operations to be redirected silently to unintended storage locations if untrusted input is used in these identifiers. The vulnerability affects multiple specific versions of the php-mongodb library. The CVSS score is 8.1, indicating a high severity impact with potential for confidentiality and integrity compromise without user interaction.

References

Community reviews

Loading reviews…