GHSA-65fr-j4p9-vc33

    Dashboard / Vulnerabilities / GHSA-65fr-j4p9-vc33

    GHSA-65fr-j4p9-vc33

    Published: 8 Sept 2026Last Modified: 8 Sept 2026

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

    Details: ### 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.

    Affected packages

    Package

    Name: mongodb/mongodb

    Purl: pkg:composer/mongodb/mongodb

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.21.4

    Affected versions

    0.1.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High