VAUNT WATCHバウント ウォッチ
緊急 CVSS 9.8

ash に認証なしでコード実行や SQL 注入をされる脆弱性

ash は Elixir 向けのフレームワークで、3.31.3 以上 3.38.0 未満の版が対象です。認証されていない攻撃者が、偽造したページ送りのカーソルを送ることで、任意のコードの実行や SQL の注入を行える可能性があります。ash を使っている会社は、利用中の版を確認し、3.38.0 に更新してください。

概要

CVE 番号CVE-2026-124283
CVSS 基本値9.8(CVSS 3.1) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
弱点の種類CWE-502、CWE-89
NVD の公開日2026年11月24日
NVD の最終更新日2026年11月30日
悪用CISA の悪用が確認された脆弱性の一覧(KEV)には載っていません(この頁の作成時点)

対象の製品と版

ベンダー製品影響を受ける版修正された版
ash Hqash Framework3.31.3 以上 3.38.0 未満3.38.0

版は NVD の CPE の記載から機械的に取っています。「未満」の版が、修正された最初の版です。

NVD の記載(原文)

Deserialization of Untrusted Data vulnerability in ash-project ash allows an unauthenticated attacker to execute arbitrary code or inject SQL through a forged keyset pagination cursor. Ash.Page.Keyset.filter/4 in lib/ash/page/keyset.ex decodes the client-supplied page[:after] or page[:before] cursor from Erlang external term format and rejects decoded expressions with Ash.Expr.expr?/1. That check does not examine the fields of a struct. The cast of each value against the type of its sort field accepts structs for the :ci_string, :map, :struct and :term types. A struct in the cursor value for such a sort field therefore reaches the data layer. With AshPostgres, the read passes such a struct to inspect/1, which runs the Inspect implementation of the struct module that the attacker selected. A chain of struct modules from ecto and db_connection then calls a function that the cursor names, which permits OS command execution. An %Ash.Query.Function.Fragment{} inside an %Ash.CiString{} value is written into the SQL query as raw text. This issue affects ash: from 3.31.3 before 3.38.0.

元の情報

この頁は、NVD と CISA の記録から自動で作っています。日本語の題と説明は、記録をもとに AI が書き、記録にない数字を含まないことを機械で確かめています。対処の前に、ベンダーの案内(元の情報)を必ず確かめてください。

← 緊急の脆弱性の一覧へ