{"schemaVersion":3,"id":"CVE-2026-73562","aliases":["GHSA-664h-wqgq-64gw","BIT-mongoose-2026-73562"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-08-13T17:27:09.914Z","modified":"2026-08-14T18:09:27.112Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00503,"percentile":0.42031,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.13399999999999995,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00369},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00503,"percentile":0.42031}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00369,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00503,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00503,"percentile":0.42031}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","description":"The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/1321.html"}],"affected":[{"vendor":"automattic","product":"mongoose","name":"mongoose","label":"mongoose","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.13.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.8.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0.0, < 8.24.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0.0, < 9.7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.13.10 | ≥ 7.0.0, < 7.8.10 | ≥ 8.0.0, < 8.24.1 | ≥ 9.0.0, < 9.7.2","eol":null,"hubHref":"/vendor/automattic/mongoose"},{"vendor":"Npm","product":"mongoose","name":"mongoose","label":"mongoose","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/mongoose","purlType":"npm","versions":[{"text":"< 6.13.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.8.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0.0, < 8.24.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.0.0, < 9.7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.13.10 | ≥ 7.0.0, < 7.8.10 | ≥ 8.0.0, < 8.24.1 | ≥ 9.0.0, < 9.7.2","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/Automattic/mongoose/security/advisories/GHSA-664h-wqgq-64gw","label":"github.com/Automattic/mongoose/security/advisories/GHSA-664h-wqgq-64gw","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/Automattic/mongoose/commit/35a3f33bc9a0a28671f99e3c5010000425650d0f","label":"github.com/Automattic/mongoose/commit/35a3f33bc9a0a28671f99e3c5010000425650d0f","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/Automattic/mongoose/commit/7285466b860d3b511f8d07b2ab72656703ee707a","label":"github.com/Automattic/mongoose/commit/7285466b860d3b511f8d07b2ab72656703ee707a","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/Automattic/mongoose/commit/953d085bee5a16b5d6c5af33a156e6314d6d9a45","label":"github.com/Automattic/mongoose/commit/953d085bee5a16b5d6c5af33a156e6314d6d9a45","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/Automattic/mongoose/commit/fab793b747131c68927888cba41cf3e6d6593740","label":"github.com/Automattic/mongoose/commit/fab793b747131c68927888cba41cf3e6d6593740","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/Automattic/mongoose/pull/16230","label":"github.com/Automattic/mongoose/pull/16230","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/Automattic/mongoose/commit/f494b8430f9097fc70446d6949c8a42a27518e0b","label":"github.com/Automattic/mongoose/commit/f494b8430f9097fc70446d6949c8a42a27518e0b","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/Automattic/mongoose","label":"github.com/Automattic/mongoose","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/Automattic/mongoose/releases/tag/6.13.10","label":"github.com/Automattic/mongoose/releases/tag/6.13.10","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/Automattic/mongoose/releases/tag/7.8.10","label":"github.com/Automattic/mongoose/releases/tag/7.8.10","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/Automattic/mongoose/releases/tag/8.24.1","label":"github.com/Automattic/mongoose/releases/tag/8.24.1","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/Automattic/mongoose/releases/tag/9.7.2","label":"github.com/Automattic/mongoose/releases/tag/9.7.2","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-08-13T17:27:09.914Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-14T18:09:27.112Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T16:59:09.710Z","stale":false,"partial":false}}