Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-87803

Quick assessment

Affected
Countly countly-server
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Countly 服务器中的 DBViewer 组件存在一个授权绕过漏洞,其根源在于聚合阶段净化器中对于子管道(sub-pipeline)的检测机制存在缺陷。 聚合端点会解析由用户控制的聚合 JSON,并将其通过一个阶段净化器进行处理。该净化器通过检查嵌套数组中的每个元素是否包含在硬编码的 集合中存在的键,来判断该嵌套数组是否为一个子管道。如果数组中任意一个元素包含无法识别的阶段键(例如未文档化的 MongoDB 内部操作符 ),净化器就会错误地将整个分支归类为普通通用数组,从而跳过对所有同级阶段的阶段级剥离处理。

CVSS 7.1 · High

Possible ATT&CK Techniques 1 AI

T1189 · Drive-by Compromise
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-87803

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
N/A
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制不正确
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Countly countly-server 0 ~ 25.03.53-LTS -

II. Public POCs for CVE-2026-87803

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-87803

登录查看更多情报信息。

Patches & Fixes for CVE-2026-87803 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-87803

No comments yet


Leave a comment