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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-78691— AshSql 字符串搜索 LIKE 通配符注入漏洞

一分钟漏洞结论

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

以下是该漏洞描述信息的中文翻译: ash-project 中的 ash_sql 存在“数据查询逻辑中特殊元素中和不当”漏洞,允许向 、 或 提供搜索词的用户注入有效的 SQL LIKE 通配符,从而将字面子串搜索转变为攻击者可控的模式匹配。 AshSql.Expr 中的转义辅助函数会使用反斜杠对 和 进行转义,但从未转义输入中已经存在的反斜杠。由于反斜杠是 LIKE 语句的默认转义字符,这种转义方式实际上抵消了自身的效果:输入中的 会变成模式片段 ,其中 表示一个字面意义上的反斜杠,而攻击者输入的 仍然保持为有效的

CVSS 2.1 · Low

可能的 ATT&CK 技术 1 AI

T1059.002 · AppleScript
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Unescaped backslash allows LIKE wildcard injection in AshSql string search
来源: CVE Program / CVE List V5
Vulnerability Description
Improper Neutralization of Special Elements in Data Query Logic vulnerability in ash-project ash_sql allows a user who supplies a search term to contains/2, string_starts_with/2, or string_ends_with/2 to inject live SQL LIKE wildcards, turning a literal substring search into an attacker-controlled pattern match. The escape helpers in AshSql.Expr prefix % and _ with a backslash but never escape a backslash already present in the input. Because backslash is the default LIKE escape character, the escaping defeats itself: the input \% becomes the pattern fragment \\%, where \\ is a literal backslash and the attacker's % remains a live wildcard. The search value stays parameterized, so this is confined to the LIKE pattern grammar rather than full SQL. An attacker can widen matches to probe values, slip past a negated contains(...) guard, or crash the query with a trailing lone backslash. This issue affects ash_sql: from 0.1.1-rc.10 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

受影响产品

厂商 产品 影响版本 CPE 订阅
ash-project ash_sql 0.1.1-rc.10 ~ 0.7.1 cpe:2.3:a:ash-project:ash_sql:*:*:*:*:*:*:*:*
ash-project ash_sql cfc7da474c5be2190fd62664a83a689377a8d512 ~ d95c55c64b1b42cc2fd30211a4913f3145156cd4 cpe:2.3:a:ash-project:ash_sql:*:*:*:*:*:*:*:*

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

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

CVE-2026-78691 厂商页面 (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-80227 2.1 LOW Ash SQL 字符串修剪逻辑与内存处理不一致
CVE-2026-81316 2.1 LOW AshSql 同名聚合混淆漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-78691

暂无评论


发表评论