Apply sanitizeFilter on countDocuments and cursor()
fix(query): apply sanitizeFilter on countDocuments and cursor()
Apply sanitizeFilter on countDocuments and cursor()8b10d5-fix-apply-sanitizefilter-on-countdocuments-and-cursor-cve-2026-125120fixapply sanitizefilter countdocuments cursor query
Committed by vkarpov15
commit message
fix(query): apply sanitizeFilter on countDocuments and cursor()Editor assessment
This commit patches CVE-2026-125120. A near-identical sibling of the countDocuments change, this branch adds the call parentheses around cursor(), so the coverage statement reads slightly more precisely. The scope and type are right and the header is clean. Still absent is any body: nothing explains the exposure that filter sanitization prevents, which operators were reachable, or whether the fix also covers aggregate helpers. Understandable, but the message is a pointing gesture at the diff. One sentence on the operator payloads filter sanitization blocks would complete it.