p PatchFirst

CVE-2026-73562

CVE-2026-73562 · Mongoose: Prototype pollution in the update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.10, 7.8.10, 8.24.1, and 9.7.2, passing a user-controlled update such as MyModel.updateOne(filter, req.body) can exploit Mongoose update casting with a __proto__.x dotted path under $set. Schema.prototype.path and Schema.prototype._getPathType can treat inherited properties of schema.paths and schema.nested as schema types, allowing the casting process to set $fullPath and $parentSchemaDocArray on Object.prototype before throwing. This prototype pollution makes those properties visible on newly created objects and can cause application integrity and availability impacts. This issue is fixed in versions 6.13.10, 7.8.10, 8.24.1, and 9.7.2.

CVSS 6.5 · Moyenne · EPSS 0,5% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • mongoose

    Versions du logiciel
    • < 6.13.10: Concernée
    • >= 7.0.0, < 7.8.10: Concernée
    • >= 8.0.0, < 8.24.1: Concernée
    • >= 9.0.0, < 9.7.2: Concernée

    Aucun correctif publié

  • mongoose npm

    Plages de versions concernées
    • SEMVER: < 6.13.10

    Mettez à jour vers 6.13.10

  • mongoose npm

    Plages de versions concernées
    • SEMVER: ≥ 7.0.0, < 7.8.10

    Mettez à jour vers 7.8.10

  • mongoose npm

    Plages de versions concernées
    • SEMVER: ≥ 8.0.0, < 8.24.1

    Mettez à jour vers 8.24.1

  • mongoose npm

    Plages de versions concernées
    • SEMVER: ≥ 9.0.0, < 9.7.2

    Mettez à jour vers 9.7.2

Sources originales

Vérifiez votre serveur →