BIT-mongoose-2026-73562

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/mongoose/BIT-mongoose-2026-73562.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-mongoose-2026-73562
Aliases
Published
2026-08-19T08:48:07Z
Modified
2026-08-19T09:55:54Z
Summary
Mongoose: Prototype pollution in the update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)
Details

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.

Database specific
{
    "cpes": [
        "cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*"
    ],
    "severity": "Medium"
}
References

Affected packages

Bitnami / mongoose

Package

Name
mongoose
Purl
pkg:bitnami/mongoose

Severity

  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
6.13.10
Introduced
7.0.0
Fixed
7.8.10
Introduced
8.0.0
Fixed
8.24.1
Introduced
9.0.0
Fixed
9.7.2

Database specific

source
"https://github.com/bitnami/vulndb/tree/main/data/mongoose/BIT-mongoose-2026-73562.json"