{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-125120","published":"2026-11-09T23:17:22.587000Z","last_modified":"2026-11-13T14:17:52.503000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-943"],"cpes":[],"cpes_truncated":false,"vendors":["automattic"],"products":["automattic/mongoose"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-pcrw-h46h-c93h","ecosystem":"npm","name":"mongoose","purl":"pkg:npm/mongoose","ranges":[{"introduced":"0","fixed":"6.13.11"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-pcrw-h46h-c93h","ecosystem":"npm","name":"mongoose","purl":"pkg:npm/mongoose","ranges":[{"introduced":"7.0.0","fixed":"7.8.12"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-pcrw-h46h-c93h","ecosystem":"npm","name":"mongoose","purl":"pkg:npm/mongoose","ranges":[{"introduced":"8.0.0","fixed":"8.24.3"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-pcrw-h46h-c93h","ecosystem":"npm","name":"mongoose","purl":"pkg:npm/mongoose","ranges":[{"introduced":"9.0.0","fixed":"9.9.2"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":75,"links":{"html_es":"/es/cve/CVE-2026-125120/","html_en":"/en/cve/CVE-2026-125120/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-125120","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-125120"},"untrusted":{"vendor_name":"Automattic","product_name":"mongoose","desc_en":"Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.11, 7.8.12, 8.24.3, and 9.9.2, Mongoose countDocuments() does not apply the configured sanitizeFilter query selector injection defense. An application that enables sanitizeFilter and passes attacker-controlled filter values to countDocuments() can therefore process query operator objects as operators rather than literal values, causing the count to include documents that should not match and potentially undermining authorization or application logic based on that count. This issue is fixed in versions 6.13.11, 7.8.12, 8.24.3, and 9.9.2.","affected":[{"untrusted_vendor":"Automattic","untrusted_product":"mongoose"}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"9d3c682521bfaea356799ceec55b4f4b","generated":"2026-11-26T23:29:23.218949Z","es":{"untrusted_title":"Inyección de operadores de consulta en countDocuments() de Mongoose","untrusted_summary":"Mongoose no aplica el filtro de sanitización configurado en la función countDocuments(), permitiendo inyección de operadores de consulta. Un atacante puede enviar valores de filtro maliciosos para que se procesen como operadores en lugar de valores literales, causando que el conteo incluya documentos que no deberían coincidir y potencialmente comprometiendo la lógica de autorización."},"en":{"untrusted_title":"Query Operator Injection in Mongoose countDocuments()","untrusted_summary":"Mongoose fails to apply the configured sanitizeFilter defense in the countDocuments() function, allowing query operator injection. An attacker can send malicious filter values to process operators instead of literal values, causing the count to include unintended documents and potentially undermining authorization logic."},"remediation":{"status":"fix","fixed_versions":["6.13.11","7.8.12","8.24.3","9.9.2"],"untrusted_action_es":"Actualiza Mongoose a versión 6.13.11, 7.8.12, 8.24.3 o 9.9.2 según tu rama de versión.","untrusted_action_en":"Update Mongoose to version 6.13.11, 7.8.12, 8.24.3, or 9.9.2 depending on your version branch.","vendor_url":"https://github.com/Automattic/mongoose/releases/tag/9.9.2"},"reviewed":false},"references":[{"url":"https://github.com/Automattic/mongoose/commit/7e912af3fac52cb0eea4cd71e24d65318916831a","tags":[]},{"url":"https://github.com/Automattic/mongoose/commit/8b10d5760bb181f5bf5d01495cde161c8aed0557","tags":[]},{"url":"https://github.com/Automattic/mongoose/commit/b1df045aab076b740fdaec14a15a44c694b85b7d","tags":[]},{"url":"https://github.com/Automattic/mongoose/commit/b5003d3915db1cf9209c38a4b93cf3a92cddd710","tags":[]},{"url":"https://github.com/Automattic/mongoose/releases/tag/6.13.11","tags":[]},{"url":"https://github.com/Automattic/mongoose/releases/tag/7.8.12","tags":[]},{"url":"https://github.com/Automattic/mongoose/releases/tag/8.24.3","tags":[]},{"url":"https://github.com/Automattic/mongoose/releases/tag/9.9.2","tags":[]},{"url":"https://github.com/Automattic/mongoose/security/advisories/GHSA-pcrw-h46h-c93h","tags":[]}]}}