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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-78699— AshPostgres rename_tenant 租户访问漏洞

一分钟漏洞结论

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

以下是该漏洞描述信息的中文翻译: 在 Ash 项目的 库中存在一个未检查返回值(Unchecked Return Value)漏洞。 漏洞描述 中的未检查返回值漏洞使得能够触发租户重命名的攻击者,可以将租户重命名为与现有租户的架构(schema)冲突的名称。这会导致该租户的记录被指向另一个正在运行的租户的架构,从而让攻击者获得访问该其他租户数据的权限。 技术细节 调用 语句时,使用的是不会抛出异常的 。该函数丢弃了查询返回的 或 结果,并无条件返回 。 当目标架构已存在(或由于权限不足或锁超时)时,PostgreS

CVSS 7.2 · High
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
rename_tenant returns :ok on a failed rename, enabling cross-tenant access in AshPostgres
来源: CVE Program / CVE List V5
Vulnerability Description
Unchecked Return Value vulnerability in ash-project ash_postgres allows a user who can drive a tenant rename to a name that collides with an existing tenant's schema to have their tenant record repointed at that other tenant's live schema, gaining access to its data. AshPostgres.MultiTenancy.rename_tenant/3 issues the ALTER SCHEMA ... RENAME TO ... with the non-raising Ecto.Adapters.SQL.query/2, discards its {:ok, _} | {:error, _} result, and unconditionally returns :ok. PostgreSQL rejects the rename when the target schema already exists (and on insufficient privilege or lock timeout), but that failure never reaches the caller. The calling manage_tenant update action therefore sees success and commits the tenant row with the new name, which is the schema of a different existing tenant, so subsequent reads and writes for that tenant run against the other tenant's data. This issue affects ash_postgres: from 0.25.0 before 2.13.0.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
未加检查的返回值
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
ash-project ash_postgres 0.25.0 ~ 2.13.0 cpe:2.3:a:ash-project:ash_postgres:*:*:*:*:*:*:*:*
ash-project ash_postgres 03510dae24020e302558ef947be7ea874a9ce756 ~ 8544ab15fe45784553c2d2da8ee1a388eee0174b cpe:2.3:a:ash-project:ash_postgres:*:*:*:*:*:*:*:*

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

CVE-2026-78699 厂商安全公告 (3)

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

CVE-2026-75847 5.9 MEDIUM AshPaperTrail 敏感属性存储于公开变更映射
CVE-2026-77970 5.9 MEDIUM AshPaperTrail 嵌入式嵌套字段未脱敏漏洞
CVE-2026-78038 5.9 MEDIUM AshOban 参数注入覆盖主键与租户漏洞
CVE-2026-78228 5.9 MEDIUM Ash Oban 远程服务拒绝漏洞
CVE-2026-77454 5.9 MEDIUM AshSql 2.49 静默丢弃存在性过滤漏洞
CVE-2026-77831 2.1 LOW AshPaperTrail全量差异列表算法复杂度拒绝服务
CVE-2026-77846 2.1 LOW AshSqlite JSON路径注入漏洞
CVE-2026-81318 2.1 LOW AshSql 不同租户数据泄露漏洞
CVE-2026-78691 2.1 LOW AshSql 字符串搜索 LIKE 通配符注入漏洞
CVE-2026-80227 2.1 LOW Ash SQL 字符串修剪逻辑与内存处理不一致
CVE-2026-81316 2.1 LOW AshSql 同名聚合混淆漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-78699

暂无评论


发表评论