Loading SecureCyberVM…
SecureCyberVM
CVE Lookup Daily Threat Briefing Exploited CVEs Ransomware Zero-day
SecureCyberVM
Get the Patch Brief
CVE record High

CVE-2026-124283

Code execution and SQL injection via struct-wrapped values in a forged keyset pagination cursor in Ash

Highest CVSS8.9
EPSS (30-day exploit probability)1.09%Percentile 65.1
CISA KEVNot listed
CISA SSVC exploitationPocAutomatable: no
Patch soon

High severity, no exploitation reported. Include CVE-2026-124283 in your next patch cycle, sooner for exposed systems.

Watch this CVE

Get an email when CVE-2026-124283 changes: new CVSS scores, exploitation (CISA KEV), fixes or affected versions. Free, one-click stop.

All ash-project CVEs

Description

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.

CVSS scores

VersionScored byScoreVector
CVSS 4.0EEF (CNA)8.9 HighCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
CVSS 4.0CNA8.9 HighCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

  1. CVE published
  2. Last updated by the CVE authority
  3. First tracked by SecureCyberVM

Exploit likelihood (EPSS)

1.09%chance of exploitation in the next 30 days
Higher than 65% of all published CVEs (FIRST EPSS percentile).A daily trend chart appears here as we collect EPSS history for this CVE.

Am I affected?

  1. Do you run ash-project ash? Check the exact versions in the affected products list.
  2. Is the affected service reachable from the internet or by untrusted users? Exposed systems come first.
  3. Watch this page: if exploitation is reported it moves to the top of your list.
  4. Apply the fix below, or the workaround if you cannot patch yet, then confirm the new version is running.

Affected products

Fix

Mitigations

  • On ash 3.37.0 or later, set config :ash, keyset_signing_secret to a long random string. Ash then rejects each cursor that it did not sign, before it decodes the cursor. Cursors issued before the change become invalid.

Weakness

CWE-89 Improper Neutralization of Special Elements used in an SQL Command · CWE-502 Deserialization of Untrusted Data

Coverage of CVE-2026-124283

Frequently asked questions

Is CVE-2026-124283 being actively exploited?

There are no confirmed reports of exploitation in the wild: CVE-2026-124283 is not in CISA's Known Exploited Vulnerabilities catalog. EPSS estimates a 1.09% probability of exploitation in the next 30 days. This page is re-checked daily.

How severe is CVE-2026-124283?

CVE-2026-124283 has a highest CVSS score of 8.9 (High) under CVSS 4.0. Severity alone is not priority: check exploitation status and whether you run an affected version.

How do I fix CVE-2026-124283?

Apply the vendor's security update as soon as it is available and follow the official advisory linked in the references on this page. Restrict exposure of the affected service until it is patched.

Which products are affected by CVE-2026-124283?

ash-project ash. See the affected products list on this page for exact versions.

References

Change log

    • First recorded on SecureCyberVM from CVE.org, NVD, CISA KEV and FIRST EPSS.

Sources: CVE.org, NIST NVD, CISA KEV and ADP, FIRST EPSS. This record is refreshed automatically every day; changes are listed in the change log above.

SecureCyberVM

Install SecureCyberVM

Get the Daily Threat Briefing and exploited-CVE alerts one tap away, full screen, like an app.