Security mailing lists by PureSourceCode

CVE-2026-73562

MEDIUM 6.5CVSS 3.1

Mongoose: Prototype pollution in mongoose update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)

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.

Published
13 Aug 2026
Last modified
24 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-1321
Also known as
BIT-mongoose-2026-73562GHSA-664h-wqgq-64gw
Sources
NVDJSONOSV GHSA-664h-wqgq-64gwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm mongoose < 6.13.10 6.13.10
OSV npm mongoose >= 7.0.0, < 7.8.10 7.8.10
OSV npm mongoose >= 8.0.0, < 8.24.1 8.24.1
OSV npm mongoose >= 9.0.0, < 9.7.2 9.7.2

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 13 Aug 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 24 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.