Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
HIGH severity

mongodb: Reject "." and NUL bytes in database and collection namesGHSA-65fr-j4p9-vc33

HIGHFix: mongodb/mongo-php-library#1967

GHSA-65fr-j4p9-vc33 is a high-severity (CVSS 8.1) CWE-943 vulnerability in mongodb/mongodb. A fix is available for mongodb/mongodb — see the affected versions and patch details below.

Also known asCVE-2026-81525
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Oct 11, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
0.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs40th percentile — riskier than 40% of all scored CVEsHighest risk
0.00%0.33%0.66%0.99%0.3%0.5%0.5%Sep 26Oct 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

GHSA-65fr-j4p9-vc33 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

2 pkgs affected
🐘mongodb/mongodb🐘mongodb/mongodb

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistmongodb/mongodball versions1.21.4composer require mongodb/mongodb:^1.21.4
🐘Packagistmongodb/mongodb≥ 2.0.0&&< 2.4.12.4.1composer require mongodb/mongodb:^2.4.1

Affected Products

2 products · 4 configurations
Application
php drivermongodb
≥ 2.0.0 && < 2.4.1
range
Application
php librarymongodb
≥ 2.0.0 && < 2.4.1
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for mongodb/mongodb, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update mongodb/mongodb to 1.21.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-65fr-j4p9-vc33 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

### Impact Passing untrusted input as part of a database or collection name may result in targeting a different database or collection than specified. ### Patches Fixed in PHP library 1.21.4 and 2.4.1. ### Workarounds Validate database and collection names prior to passing into APIs.
O3 Security · Impact-Aware SCA

Is GHSA-65fr-j4p9-vc33 in your dependencies?

Find it across Packagist, including transitive dependencies.

mongodb: Reject "." and NUL bytes in database and…