Ash Fixes Forged Keyset Cursor Code Execution and SQL Injection

P1 โ€” VALIDATE AND UPDATEHigh ยท 8.9 (CVSS v4.0; project advisory)EXPLOITATION: NOT STATED

Quick Answer

Update applicable Ash applications to 3.38.0 or later, rebuild and redeploy them, and validate keyset pagination and cursor signing.

Confirm Scope And Apply The Supported Remediation

What to do now: Record Ash and data-layer versions, dependency lockfiles, exposed paginated read actions, sort-field types, keyset signing configuration and service owners. Confirm that client input reaches before/after keyset options, the sort includes an affected field type and keyset_signing_secret is unset. Do not assume every Ash read action is vulnerable. Upgrade Ash to 3.38.0 or later. On Ash 3.37.0 or later, the project offers a long random keyset_signing_secret as an interim workaround so unsigned cursors are rejected before decoding. Confirm the deployed release and loaded dependencies, test legitimate pagination and signed-cursor handling, review suspicious pagination errors or process and database activity where warranted, and retain deployment evidence.

Open the authoritative advisory

Last verified: 2026-11-24 UTC. Recheck the authoritative advisory and supported distribution channel before changing production.

Scope And Authority

Product scopeAsh framework applications using affected keyset pagination
AdvisoryGHSA-m5v6-3qwf-6w9r
CVECVE-2026-124283
Authoritative release date2026-11-24T02:29:39Z โ€” original first-party project advisory publication.
Authority revision date2026-11-24T02:33:42Z โ€” project advisory revision metadata.
Affected versionsAsh 3.31.3 before 3.38.0, with client-supplied before/after keyset cursors, keyset pagination enabled, an unsigned cursor configuration, and a sort field typed ci_string, map, struct or term. Both impacts were demonstrated with AshPostgres; code execution also used the specified Ecto and DBConnection dependency chain.
Fixed versionAsh 3.38.0 or later.
CVSS base score8.9 (CVSS v4.0; project advisory)
CVSS severityHigh
Exploitation statusThe cited authority does not confirm exploitation in the wild.; no exploitation claim is inferred.

What Changed

The project disclosed that struct-wrapped values in a forged keyset pagination cursor can bypass expression checks and reach the data layer. Under the stated configuration, an unauthenticated caller can trigger code execution with the application service identity or inject SQL with the application database privileges.

What To Validate Now

  1. Inventory. Record Ash and data-layer versions, dependency lockfiles, exposed paginated read actions, sort-field types, keyset signing configuration and service owners.
  2. Establish applicability. Confirm that client input reaches before/after keyset options, the sort includes an affected field type and keyset_signing_secret is unset. Do not assume every Ash read action is vulnerable.
  3. Remediate. Upgrade Ash to 3.38.0 or later. On Ash 3.37.0 or later, the project offers a long random keyset_signing_secret as an interim workaround so unsigned cursors are rejected before decoding.
  4. Validate. Confirm the deployed release and loaded dependencies, test legitimate pagination and signed-cursor handling, review suspicious pagination errors or process and database activity where warranted, and retain deployment evidence.
  5. Retain evidence. Preserve asset and owner identifiers, the applicability decision, before-and-after versions, change approval, installation output, validation results, and any exception or rollback record.

Operational Cautions

Enabling cursor signing invalidates existing cursors. Test client behavior and coordinate the secret across application instances through supported configuration management. Keep service and database privileges restricted; a failed pagination request does not by itself rule out exploitation.

Evidence To Retain

  • Exact product, release stream, package or application version, enabled feature, environment, and accountable owner.
  • UTC timestamps, authority revision, approved change record, installer or package-manager output, and resulting version.
  • Relevant logs and monitoring evidence, test results, exceptions, compensating controls, and rollback decisions.

Related TechGeeks Resources

Authoritative References

Correction policy: If the authority changes affected versions, fixed versions, severity, exploitation information, mitigations, or required action, TechGeeks will update this notice and its verification date.