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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-81318— Ash Framework AshSql 授权问题漏洞

一分钟漏洞结论

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

Ash Framework AshSql是Ash Framework组织的一个数据库系统。 Ash Framework AshSql 0.1.0版本至0.7.1之前版本存在授权问题漏洞,该漏洞源于在distinct查询上计算聚合时AshSql.AggregateQuery.add_single_aggs/5重建外部查询仅使用query.from.source且未携带query.prefix,导致多租户环境下读取错误schema,可能使调用者接收到从另一个租户的行计算的聚合值。

CVSS 2.1 · Low EPSS 0.17% · P6

影响版本矩阵 2

厂商产品 版本范围状态
ash-project ash_sql 0.1.0< 0.7.1 affected
dd092ed273dec7bd2194352f24a39229fc8ae68b< 3d95478cc9e1d5bfaf6144fe9b9793f29e5ab889 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Distinct-query aggregate drops the tenant schema prefix, leaking across tenants in AshSql
来源: CVE Program / CVE List V5
Vulnerability Description
Incorrect Authorization vulnerability in ash-project ash_sql allows a caller in a schema-based multitenant application to receive aggregate values computed from another tenant's rows. When an aggregate is computed over a distinct query, AshSql.AggregateQuery.add_single_aggs/5 rebuilds the outer query from query.from.source alone, which is only the {table, schema} tuple and does not carry query.prefix or query.from.prefix. For strategy(:context) multitenancy those hold the tenant schema, so the rebuilt outer query reads the repo's default schema while the inner correlated subquery still reads the tenant schema, and the two are joined only on primary key. The aggregate, and any relationship join added off the prefix-less binding, is then computed against the wrong tenant's rows. The neighbouring limit and exists branches instead wrap the query with subquery/1, which preserves the prefix. This issue affects ash_sql: from 0.1.0 before 0.7.1.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
授权机制不正确
来源: CVE Program / CVE List V5
Vulnerability Title
Ash Framework AshSql 授权问题漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Ash Framework AshSql是Ash Framework组织的一个数据库系统。 Ash Framework AshSql 0.1.0版本至0.7.1之前版本存在授权问题漏洞,该漏洞源于在distinct查询上计算聚合时AshSql.AggregateQuery.add_single_aggs/5重建外部查询仅使用query.from.source且未携带query.prefix,导致多租户环境下读取错误schema,可能使调用者接收到从另一个租户的行计算的聚合值。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
ash-project ash_sql 0.1.0 ~ 0.7.1 cpe:2.3:a:ash-project:ash_sql:*:*:*:*:*:*:*:*
ash-project ash_sql dd092ed273dec7bd2194352f24a39229fc8ae68b ~ 3d95478cc9e1d5bfaf6144fe9b9793f29e5ab889 cpe:2.3:a:ash-project:ash_sql:*:*:*:*:*:*:*:*

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-81318 补丁与修复 (1)

CVE-2026-81318 厂商安全公告 (2)

CVE-2026-81318 其他参考 (1)

同批安全公告 · ash-project · 2026-08-30 · 共 20 条

CVE-2026-81636 8.7 HIGH Ash Framework AshGraphql 资源管理错误漏洞
CVE-2026-78699 7.2 HIGH Ash Framework AshPostgres 异常处理不当漏洞
CVE-2026-80223 7.1 HIGH Ash Framework AshGraphql 授权问题漏洞
CVE-2026-78693 6.9 MEDIUM Ash Framework AshGraphql 信息泄露漏洞
CVE-2026-81633 6.9 MEDIUM Ash Framework AshGraphql 输入验证错误漏洞
CVE-2026-77970 5.9 MEDIUM Ash Framework AshPaperTrail 加密问题漏洞
CVE-2026-78038 5.9 MEDIUM Ash Framework AshOban 输入验证错误漏洞
CVE-2026-78228 5.9 MEDIUM Ash Framework AshOban 资源管理错误漏洞
CVE-2026-77454 5.9 MEDIUM Ash Framework AshSql 授权问题漏洞
CVE-2026-75847 5.9 MEDIUM Ash Framework AshPaperTrail 加密问题漏洞
CVE-2026-81319 5.9 MEDIUM Ash Framework AshCloak 反序列化注入漏洞
CVE-2026-81643 2.3 LOW Ash Framework AshGraphql 授权问题漏洞
CVE-2026-82367 2.3 LOW Ash Framework AshGraphql 会话机制问题漏洞
CVE-2026-81316 2.1 LOW Ash Framework AshSql 授权问题漏洞
CVE-2026-81322 2.1 LOW Ash Framework AshCloak 信息泄露漏洞
CVE-2026-80227 2.1 LOW Ash Framework AshSql 处理逻辑错误漏洞
CVE-2026-78691 2.1 LOW Ash Framework AshSql 输入验证错误漏洞
CVE-2026-77846 2.1 LOW Ash Framework AshSqlite 输入验证错误漏洞
CVE-2026-77831 2.1 LOW Ash Framework AshPaperTrail 资源管理错误漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-81318

暂无评论


发表评论