CVE-2026-87803
Last modified
CVE-2026-87803 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Countly | countly-server | < 25.03.53-LTS |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-87803?
How severe is CVE-2026-87803?
How do I fix CVE-2026-87803?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-87766A flaw was found in bubblewrap. During sandbox setup, creati…8.8
- CVE-2026-8777A vulnerability was found in Edimax BR-6428NS 1.10. This iss…6.3
- CVE-2026-8779A vulnerability was determined in omec-project amf up to 2.1…4.3
- CVE-2026-87794bestzip versions 2.2.6 and 3.0.2 contain an argument injecti…8.4
- CVE-2026-87795zstd-jni versions before 1.5.7-14 fail to validate offset an…8.2
- CVE-2026-8780A vulnerability was identified in omec-project amf up to 2.1…4.3
- CVE-2026-87804Rejected reason: no security impact
- CVE-2026-87806Parse Server versions <= 8.6.87 and >= 9.0.0 < 9.10.1-alpha.…7.4
- CVE-2026-87807siyuan versions before v3.8.2 contain an authenticated SQL i…7.5
- CVE-2026-87808SiYuan versions <= 3.8.1 contain an incomplete fix for CVE-2…4.9
- CVE-2026-87809Siyuan before v3.8.2 fails to apply publish-access filtering…6.5
- CVE-2026-8781A security flaw has been discovered in omec-project amf up t…4.3
Are you affected by CVE-2026-87803?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
