Ash keyset pagination cursor forgery allows code execution and SQL injection
CVE-2026-124283
Attackers can break into servers by tampering with list page addresses in this Elixir tool!
- CVE
- CVE-2026-124283 (opens in a new tab)
- Score
- CVSS 9.8
- First seen
Mitigation
Update ash to 3.38.0 or later. On ash 3.37.0 or later, set config :ash, keyset_signing_secret to a long random string instead. Cursors issued before that change become invalid.
Can't update yet?
Add this line to the config file:
config :ash, keyset_signing_secret to a long random string
A wrong setting can stop the service or lock you out. Check the source links below first.
Summary
An unauthenticated remote attacker can forge an Ash keyset pagination cursor to run arbitrary code or inject SQL. Versions from 3.31.3 before 3.38.0 are affected.
Exploit code is public
Affected when
- A read action with keyset? true in its pagination block
- A sort field of type :ci_string, :map, :struct or :term
- config :ash, :keyset_signing_secret left unset (the default)
- AshPostgres data layer in use
3 other Incidents of this product in the last 30 days
Incidents by product: Ash Framework · ash
Read the advisory · github.com (opens in a new tab)
- Advisory: github.com (opens in a new tab)
- CVE record: cve.org (opens in a new tab)