{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-87803","published":"2026-09-10T10:17:32.610000Z","last_modified":"2026-09-10T15:53:23.707000Z","status":"Deferred","cvss":{"version":"4.0","score":7.1,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"report@snyk.io","primary":false},"auth":true,"cwes":["CWE-863"],"cpes":[],"cpes_truncated":false,"vendors":["countly"],"products":["countly/countly-server"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2026-87803/","html_en":"/en/cve/CVE-2026-87803/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-87803","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-87803"},"untrusted":{"vendor_name":"Countly","product_name":"countly-server","desc_en":"An authorization bypass vulnerability exists in the Countly Server DBViewer due to flawed sub-pipeline detection in the aggregation stage sanitizer. The /o/db aggregation endpoint parses user-controlled aggregation JSON and passes it through a stage sanitizer that determines whether a nested array is a sub-pipeline by checking if every element contains a key present in a hardcoded KNOWN_STAGE_OPERATORS set. If any element contains an unrecognized stage key, such as the undocumented MongoDB-internal $_internalInhibitOptimization, the sanitizer misclassifies the entire branch as a generic array and skips stage-level stripping for all sibling stages. This allows a non-admin user with DBViewer read permission to inject forbidden operators like $lookup inside $facet sub-pipelines, performing cross-collection joins into restricted collections. This leads to unauthorized read access to sensitive data including password-reset tokens (prid), enabling account takeover.","affected":[{"untrusted_vendor":"Countly","untrusted_product":"countly-server","versions":[]}],"references":[{"url":"https://github.com/Countly/countly-server/pull/7868","tags":[]}]}}