{"id":"EUVD-2026-120502","enisaUuid":"9800e15b-c088-362c-a34b-56c047ede844","description":"Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 6.0.0 until 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Mongoose stores the connection-level sanitizeFilter option in Connection.config, but Query.prototype._castConditions() and query casting check other option locations and do not read that configuration. An application that enables sanitizeFilter through mongoose.connect() or createConnection() and passes an attacker-controlled object into a query filter therefore receives a connection that reports the defense as enabled while query selector objects remain unsanitized. A crafted password value using a query operator can match an account record without the expected literal password, while global configuration through mongoose.set(\u0027sanitizeFilter\u0027) and per-query Model.find().sanitizeFilter() remain unaffected. This issue is fixed in versions 6.13.12, 7.8.13, 8.24.7, and 9.11.4.","datePublished":"Nov 9, 2026, 10:32:49 PM","dateUpdated":"Nov 12, 2026, 6:04:30 PM","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","references":"https://github.com/Automattic/mongoose/security/advisories/GHSA-gg4r-jv3p-qx3c\nhttps://github.com/Automattic/mongoose/commit/4bb659478be2f30655a7bdd78bc251bdf111cd29\nhttps://github.com/Automattic/mongoose/commit/4f4f9a79f860786a54133bee2c9af967ec691491\nhttps://github.com/Automattic/mongoose/commit/83eda6af1489e9ef60bb8eee8cf9ee005771b9d5\nhttps://github.com/Automattic/mongoose/commit/b8970c25998c23fbccd17f76c0398b902ff4911d\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-125119\nGHSA-gg4r-jv3p-qx3c\n","assigner":"GitHub_M","epss":0.54,"enisaIdProduct":[{"id":"2f51e645-3379-3568-be95-8a04fd678ad9","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"9.0.0, \u003c 9.11.4"},{"id":"427b7852-1d1e-327c-87f3-6d8a2d2ad090","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"6.0.0, \u003c 6.13.12"},{"id":"c9919678-262c-311e-82aa-53631ae67ba0","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"7.0.0, \u003c 7.8.13"},{"id":"e9a34b7b-7747-39d6-8ae6-4a268d59ec66","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"8.0.0, \u003c 8.24.7"}],"enisaIdVendor":[{"id":"d5e42583-27aa-3b5c-b39d-e42be6e537ad","vendor":{"name":"Automattic"}}],"enisaIdVulnerability":[{"id":"9e80ff72-6c40-37f1-9c03-fbaacc2d56fa","vulnerability":{"id":"CVE-2026-125119","description":"Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 6.0.0 until 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Mongoose stores the connection-level sanitizeFilter option in Connection.config, but Query.prototype._castConditions() and query casting check other option locations and do not read that configuration. An application that enables sanitizeFilter through mongoose.connect() or createConnection() and passes an attacker-controlled object into a query filter therefore receives a connection that reports the defense as enabled while query selector objects remain unsanitized. A crafted password value using a query operator can match an account record without the expected literal password, while global configuration through mongoose.set(\u0027sanitizeFilter\u0027) and per-query Model.find().sanitizeFilter() remain unaffected. This issue is fixed in versions 6.13.12, 7.8.13, 8.24.7, and 9.11.4.","datePublished":"Nov 9, 2026, 10:32:49 PM","dateUpdated":"Nov 12, 2026, 6:04:30 PM","status":"PUBLISHED","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","references":"https://github.com/Automattic/mongoose/security/advisories/GHSA-gg4r-jv3p-qx3c\nhttps://github.com/Automattic/mongoose/commit/4bb659478be2f30655a7bdd78bc251bdf111cd29\nhttps://github.com/Automattic/mongoose/commit/4f4f9a79f860786a54133bee2c9af967ec691491\nhttps://github.com/Automattic/mongoose/commit/83eda6af1489e9ef60bb8eee8cf9ee005771b9d5\nhttps://github.com/Automattic/mongoose/commit/b8970c25998c23fbccd17f76c0398b902ff4911d\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-120502\n","assigner":"GitHub_M","epss":0.54,"dataProcessed":"Nov 14, 2026, 11:00:22 PM","vulnerabilityProduct":[{"id":"06d315dd-1498-31f2-b364-fe31b54977b4","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"7.0.0, \u003c 7.8.13"},{"id":"55d40d2c-4b69-3bc4-a2f9-977875385206","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"8.0.0, \u003c 8.24.7"},{"id":"87798008-69ac-3b49-b1f7-fbc6081fac4e","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"6.0.0, \u003c 6.13.12"},{"id":"e6a14d10-adfc-3174-863a-34a80414d4af","product":{"name":"Mongoose","vendor":{"name":"Automattic"}},"product_version":"9.0.0, \u003c 9.11.4"}],"vulnerabilityVendor":[{"id":"6cc861aa-a078-3cc5-9a38-2914cbb1a6bc","vendor":{"name":"Automattic"}}]}},{"id":"e278657f-cacb-3a48-bac1-23849c50da93","vulnerability":{"id":"GHSA-gg4r-jv3p-qx3c","description":"Mongoose: Connection-level sanitizeFilter not applied","datePublished":"Nov 10, 2026, 7:56:12 PM","dateUpdated":"Nov 10, 2026, 7:56:12 PM","baseScore":0.0,"references":"https://github.com/Automattic/mongoose/security/advisories/GHSA-gg4r-jv3p-qx3c\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-125119\nhttps://github.com/Automattic/mongoose/commit/4bb659478be2f30655a7bdd78bc251bdf111cd29\nhttps://github.com/Automattic/mongoose/commit/4f4f9a79f860786a54133bee2c9af967ec691491\nhttps://github.com/Automattic/mongoose/commit/83eda6af1489e9ef60bb8eee8cf9ee005771b9d5\nhttps://github.com/Automattic/mongoose/commit/b8970c25998c23fbccd17f76c0398b902ff4911d\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-120502\n","aliases":"CVE-2026-125119\nGHSA-gg4r-jv3p-qx3c\n","epss":0.0,"dataProcessed":"Nov 14, 2026, 7:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}