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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-80227— Ash SQL 字符串修剪逻辑与内存处理不一致

一分钟漏洞结论

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

以下是该漏洞描述的中文翻译: ash-project 中 ash_sql 存在一个不正确的比较(Incorrect Comparison)漏洞。攻击者可以通过在字符串字段中填充制表符(tab)、换行符(newline)、回车符(carriage return)或换页符(form feed)字符,从而绕过数据库中经过修剪的“唯一性”或“相等性”检查,而这些输入在内存中的相同表达式中可能会失败(或者情况相反)。 编译为基于 Elixir 字符串构建的 模式,其中 是单个空格(码点 32)的转义字符,而不是正则表达式中的

CVSS 2.1 · Low

可能的 ATT&CK 技术 1 AI

T1078 · Valid Accounts
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
SQL string_trim removes only spaces, diverging from in-memory trimming in AshSql
来源: CVE Program / CVE List V5
Vulnerability Description
Incorrect Comparison vulnerability in ash-project ash_sql allows a user to pad a string field with tab, newline, carriage-return, or form-feed characters and pass a trimmed uniqueness or equality check in the database that the same expression would fail in memory (or the reverse). string_trim/1 compiles to REGEXP_REPLACE patterns built from an Elixir string in which \s is the escape for a single space (codepoint 32), not a regex whitespace class. The generated SQL therefore removes only literal spaces and leaves tabs, newlines, carriage returns, and form feeds in place, whereas String.trim/1 in Elixir removes them all. Any Ash filter, validation, or identity that relies on string_trim/1 then behaves differently depending on whether Ash pushes the expression down to SQL or evaluates it in memory, so padded input can register a near-duplicate value or slip past a trimmed comparison. 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:N/VI:L/VA:N/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
不充分的比较
来源: CVE Program / CVE List V5

受影响产品

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

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

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

CVE-2026-80227 厂商页面 (1)

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

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-81316 2.1 LOW AshSql 同名聚合混淆漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-80227

暂无评论


发表评论