Security mailing lists by PureSourceCode

CVE-2026-81525

HIGH 8.6CVSS 4.0

mongodb: Reject "." and NUL bytes in database and collection names

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.

Published
27 Aug 2026
Last modified
29 Sep 2026
Assigned by
cna@mongodb.com
NVD status
Analyzed
Weakness
CWE-943
Also known as
GHSA-65fr-j4p9-vc33
Sources
NVDJSONOSV GHSA-65fr-j4p9-vc33JSON

Scores

SourceScored byVersionScoreVector / decision
NVD cna@mongodb.com (Secondary) CVSS 4.0 HIGH 8.6 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
OSV GitHub CVSS 4.0 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
NVD cna@mongodb.com (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mongodb php_driver
cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*
< 1.21.6 1.21.6
NVD mongodb php_driver
cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*
>= 2.0.0, < 2.4.1 2.4.1
NVD mongodb php_library
cpe:2.3:a:mongodb:php_library:*:*:*:*:*:*:*:*
< 1.21.4 1.21.4
NVD mongodb php_library
cpe:2.3:a:mongodb:php_library:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.4.1 2.4.1
OSV Packagist mongodb/mongodb < 1.21.4 1.21.4
OSV Packagist mongodb/mongodb >= 2.0.0, < 2.4.1 2.4.1

References

History

  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 27 Aug 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 8 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.