{"id":"CVE-2026-142596","sourceIdentifier":"security-advisories@github.com","published":"2026-12-02T22:18:37.377","lastModified":"2026-12-03T17:18:04.940","vulnStatus":"Awaiting Analysis","cveTags":[],"descriptions":[{"lang":"en","value":"Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 8.5.0 until 8.24.10 and 9.12.2, Mongoose's sanitizeProjection can be bypassed by +path selections, object or array aggregation expressions, nested and parent projections, positional projections, $meta, discriminator-specific exclusions, an own __proto__ key, and projection-cast error paths. Applications that pass attacker-controlled data to select(), find(filter, projection), or the projection option while relying on sanitizeProjection can return fields marked select: false, including password hashes, reset tokens, API keys, and nested secrets. Nested exclusion objects, $elemMatch combined with an exclusion or a cast error, and discriminator filters can also cause ordinary queries that do not enable sanitizeProjection to omit the select: false exclusions that Mongoose normally adds. This issue is fixed in versions 8.24.10 and 9.12.2."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"Automattic","product":"mongoose","versions":[{"version":">= 8.5.0, < 8.24.10","status":"affected"},{"version":">= 9.0.0, < 9.12.2","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-12-03T15:15:52.933967Z","id":"CVE-2026-142596","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-200"}]}],"references":[{"url":"https://github.com/Automattic/mongoose/commit/c369da407ee8bea907bb5af7bb94ce5deeb3e0e4","source":"security-advisories@github.com"},{"url":"https://github.com/Automattic/mongoose/commit/c5483b71438ececde3a272feef65e14666614093","source":"security-advisories@github.com"},{"url":"https://github.com/Automattic/mongoose/releases/tag/8.24.10","source":"security-advisories@github.com"},{"url":"https://github.com/Automattic/mongoose/releases/tag/9.12.2","source":"security-advisories@github.com"},{"url":"https://github.com/Automattic/mongoose/security/advisories/GHSA-xfcm-rmv3-crmq","source":"security-advisories@github.com"}]}