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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-82732— Ash TypeScript 控制器路由参数约束未强制

一分钟漏洞结论

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

ash_typescript 中 ash-project 的“输入验证不当”漏洞,允许远程攻击者向带类型控制器的路由提交超出已声明白名单或取值范围的参数值。 AshTypescript.TypedController.RequestHandler(位于 lib/ash_typescript/typed_controller/request_handler.ex)调用了 Ash.Type.cast_input/3,并将返回的 {:ok, cast} 结果视为“已完全验证”。在 Ash 中,这实际上是两个独立的步骤:c

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

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

漏洞信息

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

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

Vulnerability Title
Declared argument constraints not enforced on AshTypescript typed controller routes
来源: CVE Program / CVE List V5
Vulnerability Description
Improper Input Validation vulnerability in ash-project ash_typescript allows a remote attacker to submit argument values outside a declared allowlist or bound on typed-controller routes. AshTypescript.TypedController.RequestHandler in lib/ash_typescript/typed_controller/request_handler.ex calls Ash.Type.cast_input/3 and treats an {:ok, cast} result as fully validated. In Ash these are separate steps: cast_input/3 only coerces the term, while every constraint declared on the argument is applied by Ash.Type.apply_constraints/3, which this path never calls. Constraints such as one_of, max_length, min and max, and match are therefore inert, so a value outside a declared allowlist is accepted and passed to the route handler. Codegen renders the same constraints into the generated TypeScript types, so an allowlist appears enforced to a TypeScript caller while any other HTTP client ignores it. Empty-string to nil normalization also lives in apply_constraints, so the allow_nil?: false check accepts "" for a required argument. Where a constraint gates a role, a status, or a sort direction, this becomes a privilege or state-machine bypass. This issue affects ash_typescript: from 0.15.0 before 0.18.0.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/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_typescript 0.15.0 ~ 0.18.0 cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*
ash-project ash_typescript 546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e ~ 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

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

同批安全公告 · ash-project · 2026-09-01 · 共 20 条

CVE-2026-74837 8.7 HIGH AshTypescript RPC 字段创建无限原子漏洞
CVE-2026-77856 8.2 HIGH AshTypescript 无界原子创建漏洞
CVE-2026-82730 8.2 HIGH Ash Typescript 授权字段通过结果规范化泄露漏洞
CVE-2026-77950 6.3 MEDIUM AshTypescript RPC 错误处理程序未脱敏错误
CVE-2026-82733 6.3 MEDIUM AshTypescript 路由处理程序 返回值错误回显
CVE-2026-82737 5.9 MEDIUM Ash.Vector 向量头部处理缺陷
CVE-2026-82735 5.9 MEDIUM Ash.Type.String 正则输入过长拒绝服务漏洞
CVE-2026-82746 5.9 MEDIUM Ash ORM update_many 原子操作资源策略授权绕过漏洞
CVE-2026-82738 5.9 MEDIUM Ash.Type.UUIDv7 拒绝服务漏洞
CVE-2026-82742 5.9 MEDIUM Ash.Filter.Runtime 内存耗尽漏洞
CVE-2026-82745 5.9 MEDIUM ETS/Mnesia 数据层主键非唯一性缺陷
CVE-2026-82731 2.3 LOW AshTypescript 客户端请求重定向漏洞
CVE-2026-82739 2.1 LOW Ash.Resource.Validation.Confirm 字段值泄露漏洞
CVE-2026-82736 2.1 LOW Ash Type CiString 字符串约束绕过漏洞
CVE-2026-82740 2.1 LOW Ash.Type 嵌套数组输入约束失效漏洞
CVE-2026-82734 2.1 LOW Ash 框架 Ash.Type.Decimal 无限值绕过边界约束漏洞
CVE-2026-82741 2.1 LOW Ash.Type.Union 序列化标签混淆漏洞
CVE-2026-82743 2.1 LOW Ash.Actions.Read.AsyncLimiter 调度器忙等漏洞
CVE-2026-82744 2.1 LOW Ash.Reactor 守卫异常时跳过变更失败

IV. Related Vulnerabilities

V. Comments for CVE-2026-82732

暂无评论


发表评论