目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-140867— Ash 未知版本 聚合查询越权泄露

一分钟漏洞结论

影响对象
ash-project ash
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Ash 存在错误授权漏洞:攻击者可通过聚合读取其无权读取的相关记录的计数、总和和属性值。 Ash.Actions.Read(lib/ash/actions/read/read.ex)以两阶段授权聚合。Ash.Filter.relationship_filters/7 为其发现的每个用于聚合读取的关系构建策略过滤器;authorize_aggregate/11 会按这些过滤器逐一查找,若未找到则不应用任何过滤器。因此,首个阶段未到达的聚合会在没有其目标资源读取策略的情况下运行。 这涵盖作为字段给定的聚合或计算:Ash

CVSS 5.9 · Medium
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-140867 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Aggregates in Ash skip the read policies of the records they read on several query paths, disclosing counts and values of hidden records
来源: CVE Program / CVE List V5
Vulnerability Description
Incorrect authorization vulnerability in Ash allows an actor to read counts, sums and attribute values of related records they cannot read via aggregates. Ash.Actions.Read (lib/ash/actions/read/read.ex) authorized an aggregate in two passes. Ash.Filter.relationship_filters/7 built a policy filter for each relationship it found an aggregate reading, and authorize_aggregate/11 looked each filter up and applied none when it found none. An aggregate the first pass did not reach ran without its destination's read policy. That covered an aggregate or calculation given as the field: of Ash.aggregate/3, the aggregates inside a calculation used as an aggregate's field, an aggregate in another aggregate's filter, sort or join filter, and an aggregate in a combination or in the sort of an atomic bulk update or destroy. Ash.count/2, Ash.exists/2 and Ash.aggregate/3 also ignored a read policy that is decided against the records, and an aggregate reached on these paths over a multitenant resource required no tenant. This issue affects ash: from 2.17.22 before 3.39.1.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
授权机制不正确
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
ash-project ash 2.17.22 ~ 3.39.1 cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*
ash-project ash a12131cf70872e33d881c2c7c5d65cf9d2b5fb34 ~ 42ee4418dfc968c1c5779dd928c878822f88a866 cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*

二、漏洞 CVE-2026-140867 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-140867 的情报信息

请登录查看更多情报信息。

CVE-2026-140867 其他参考 (5)

IV. Related Vulnerabilities