{"id":"EUVD-2026-120501","enisaUuid":"a3485486-0197-32b8-a2c0-37b094e0af60","description":"Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Schema.prototype.virtual() builds nested virtual paths without applying the special-property validation already used by Schema.path() and Schema.add(). An attacker who can influence virtual field names in dynamic schemas, content-management form builders, or schema-as-code systems can supply path segments such as __proto__, constructor, or prototype, causing the virtual-path reducer to write enumerable properties to Object.prototype or Function.prototype. The resulting prototype pollution can spoof inherited property checks such as authorization flags and can provide function-prototype gadget state to other server-side JavaScript code. This issue is fixed in versions 6.13.12, 7.8.13, 8.24.7, and 9.11.4.","datePublished":"Nov 9, 2026, 10:29:55 PM","dateUpdated":"Nov 14, 2026, 2:27:37 AM","baseScore":6.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","references":"https://github.com/Automattic/mongoose/security/advisories/GHSA-6972-9mcm-vhwj\nhttps://github.com/Automattic/mongoose/commit/318f7e09dd363a1dfddb8180878488dccd2796d1\nhttps://github.com/Automattic/mongoose/commit/74df7769b5a8d89c4413b764029911ee915ea467\nhttps://github.com/Automattic/mongoose/commit/7a2a6567abbb72c0430c8cc5b7942141844fecff\nhttps://github.com/Automattic/mongoose/commit/fb467e6d33174293dc0360649f20ce68d99117a9\nhttps://github.com/Automattic/mongoose/releases/tag/6.13.12\nhttps://github.com/Automattic/mongoose/releases/tag/7.8.13\nhttps://github.com/Automattic/mongoose/releases/tag/8.24.7\nhttps://github.com/Automattic/mongoose/releases/tag/9.11.4\n","aliases":"CVE-2026-125118\nGHSA-6972-9mcm-vhwj\n","assigner":"GitHub_M","epss":0.4,"enisaIdProduct":[{"id":"38f2b467-5e01-3e48-9220-b2bac3107ab8","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"7.0.0, \u003c 7.8.13"},{"id":"467bf1cb-eef5-32cb-859e-25db1bab6ced","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"9.0.0, \u003c 9.11.4"},{"id":"53883267-52bb-381a-8eda-1e0449bff4c7","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"8.0.0, \u003c 8.24.7"},{"id":"fe94411d-5502-350e-995a-6ead349c1e68","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"\u003c 6.13.12"}],"enisaIdVendor":[{"id":"e9aad431-8050-30e2-b43b-473ae6bc21d6","vendor":{"name":"Automattic"}}],"enisaIdVulnerability":[{"id":"337f112b-0acf-3b9f-9f41-9fd2b5bec6b3","vulnerability":{"id":"GHSA-6972-9mcm-vhwj","description":"Mongoose: Prototype pollution via Schema.prototype.virtual()","datePublished":"Nov 10, 2026, 8:46:33 PM","dateUpdated":"Nov 10, 2026, 8:46:33 PM","baseScore":0.0,"references":"https://github.com/Automattic/mongoose/security/advisories/GHSA-6972-9mcm-vhwj\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-125118\nhttps://github.com/Automattic/mongoose/commit/318f7e09dd363a1dfddb8180878488dccd2796d1\nhttps://github.com/Automattic/mongoose/commit/74df7769b5a8d89c4413b764029911ee915ea467\nhttps://github.com/Automattic/mongoose/commit/7a2a6567abbb72c0430c8cc5b7942141844fecff\nhttps://github.com/Automattic/mongoose/commit/fb467e6d33174293dc0360649f20ce68d99117a9\nhttps://github.com/Automattic/mongoose\nhttps://github.com/Automattic/mongoose/releases/tag/6.13.12\nhttps://github.com/Automattic/mongoose/releases/tag/7.8.13\nhttps://github.com/Automattic/mongoose/releases/tag/8.24.7\nhttps://github.com/Automattic/mongoose/releases/tag/9.11.4\n","enisa_id":"EUVD-2026-120501\n","aliases":"CVE-2026-125118\nGHSA-6972-9mcm-vhwj\n","epss":0.0,"dataProcessed":"Nov 16, 2026, 7:05:59 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"699d8864-b736-3a51-bdc2-1e27aec476b0","vulnerability":{"id":"CVE-2026-125118","description":"Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Schema.prototype.virtual() builds nested virtual paths without applying the special-property validation already used by Schema.path() and Schema.add(). An attacker who can influence virtual field names in dynamic schemas, content-management form builders, or schema-as-code systems can supply path segments such as __proto__, constructor, or prototype, causing the virtual-path reducer to write enumerable properties to Object.prototype or Function.prototype. The resulting prototype pollution can spoof inherited property checks such as authorization flags and can provide function-prototype gadget state to other server-side JavaScript code. This issue is fixed in versions 6.13.12, 7.8.13, 8.24.7, and 9.11.4.","datePublished":"Nov 9, 2026, 10:29:55 PM","dateUpdated":"Nov 14, 2026, 2:27:37 AM","status":"PUBLISHED","baseScore":6.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","references":"https://github.com/Automattic/mongoose/security/advisories/GHSA-6972-9mcm-vhwj\nhttps://github.com/Automattic/mongoose/commit/318f7e09dd363a1dfddb8180878488dccd2796d1\nhttps://github.com/Automattic/mongoose/commit/74df7769b5a8d89c4413b764029911ee915ea467\nhttps://github.com/Automattic/mongoose/commit/7a2a6567abbb72c0430c8cc5b7942141844fecff\nhttps://github.com/Automattic/mongoose/commit/fb467e6d33174293dc0360649f20ce68d99117a9\nhttps://github.com/Automattic/mongoose/releases/tag/6.13.12\nhttps://github.com/Automattic/mongoose/releases/tag/7.8.13\nhttps://github.com/Automattic/mongoose/releases/tag/8.24.7\nhttps://github.com/Automattic/mongoose/releases/tag/9.11.4\n","enisa_id":"EUVD-2026-120501\n","assigner":"GitHub_M","epss":0.4,"dataProcessed":"Nov 16, 2026, 11:00:17 PM","vulnerabilityProduct":[{"id":"34a30509-1862-3be4-801a-d5412c6c8608","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"\u003c 6.13.12"},{"id":"48e7abed-dd25-3f96-ad26-480f2464f27f","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"9.0.0, \u003c 9.11.4"},{"id":"a11d35e5-6be6-3719-9530-af30d265d289","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"7.0.0, \u003c 7.8.13"},{"id":"fc708eb3-4eb1-339e-9813-395e810e4988","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"8.0.0, \u003c 8.24.7"}],"vulnerabilityVendor":[{"id":"301e375c-bd9f-3492-b818-b084cfe741a4","vendor":{"name":"Automattic"}}]}}],"enisaIdAdvisory":[]}