Skip to main content

Countly Server CVE-2026-87803

| EUVDEUVD-2026-75367 HIGH
Incorrect Authorization (CWE-863)
2026-09-10 snyk GHSA-3m7r-f729-ggmf
7.1
CVSS 4.0 · Vendor: snyk
Share

Severity by source

Vendor (snyk) PRIMARY
7.1 HIGH
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
vuln.today AI
7.1 HIGH

Network endpoint requires low-privilege DBViewer credentials; high confidentiality from unrestricted collection reads; low integrity from indirect account takeover via stolen reset tokens.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (snyk).

CVSS VectorVendor: snyk

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

4
Metadata Corrected
Sep 10, 2026 - 10:40 vuln.today
tag: Authentication Bypass removed
Source Code Evidence Fetched
Sep 10, 2026 - 10:21 vuln.today
Analysis Generated
Sep 10, 2026 - 10:21 vuln.today
CVE Published
Sep 10, 2026 - 09:54 cve.org
HIGH 7.1

DescriptionCVE.org

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.

AnalysisAI

Authorization bypass in Countly Server's DBViewer plugin allows authenticated low-privilege users to read data from restricted MongoDB collections, including plaintext password-reset tokens, by exploiting a logic flaw in the aggregation-pipeline sanitizer. The /o/db aggregation endpoint's stage sanitizer misclassifies branches containing unrecognized MongoDB-internal operators (such as $_internalInhibitOptimization) as generic arrays rather than sub-pipelines, causing it to skip enforcement entirely for that branch. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Recon
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Install
technique details hidden
C2
technique details hidden
Execute
technique details hidden
Impact
technique details hidden

Vulnerability AssessmentAI

Exploitation Exploitation requires an authenticated Countly Server account that has been explicitly granted DBViewer read permission - this is a non-default, operator-assigned privilege. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N scores 7.1 (High), which accurately reflects the threat: network-accessible, low-friction exploitation by any user holding a DBViewer read credential, with high confidentiality impact from unrestricted cross-collection reads. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario Full exploit scenario with step-by-step reproduction available after sign-in.
Remediation Apply the fix from GitHub PR #7868 (https://github.com/Countly/countly-server/pull/7868) by merging or cherry-picking into the deployed Countly Server instance; a formally tagged release version incorporating this change has not been independently confirmed, so administrators should verify patch inclusion in the next tagged release. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours: Identify all Countly deployments in your infrastructure and audit which have the DBViewer plugin enabled; restrict access to the /o/db aggregation endpoint to administrative users only using your API gateway or Countly's built-in access controls. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-87803 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy