CVE-2026-73562
CVE-2026-73562 · Mongoose: Prototype pollution in the update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
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 · Mittel · EPSS 0,5% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: node
Betroffene Produkte und Versionen
mongoose
- Softwareversionen
- < 6.13.10: Betroffen
- >= 7.0.0, < 7.8.10: Betroffen
- >= 8.0.0, < 8.24.1: Betroffen
- >= 9.0.0, < 9.7.2: Betroffen
Keine Korrektur veröffentlicht
mongoose npm
- Betroffene Versionsbereiche
- SEMVER: < 6.13.10
Auf 6.13.10 aktualisieren
mongoose npm
- Betroffene Versionsbereiche
- SEMVER: ≥ 7.0.0, < 7.8.10
Auf 7.8.10 aktualisieren
mongoose npm
- Betroffene Versionsbereiche
- SEMVER: ≥ 8.0.0, < 8.24.1
Auf 8.24.1 aktualisieren
mongoose npm
- Betroffene Versionsbereiche
- SEMVER: ≥ 9.0.0, < 9.7.2
Auf 9.7.2 aktualisieren
Originalquellen
- https://github.com/Automattic/mongoose/security/advisories/GHSA-664h-wqgq-64gw
- https://github.com/Automattic/mongoose/commit/35a3f33bc9a0a28671f99e3c5010000425650d0f
- https://github.com/Automattic/mongoose/commit/7285466b860d3b511f8d07b2ab72656703ee707a
- https://github.com/Automattic/mongoose/commit/953d085bee5a16b5d6c5af33a156e6314d6d9a45
- https://github.com/Automattic/mongoose/commit/fab793b747131c68927888cba41cf3e6d6593740
- https://nvd.nist.gov/vuln/detail/CVE-2026-73562