Saturday 5 December 2026 · UTC
Global

Your region, kept on this device.

Vulnerability · Ash-Hq Ash Framework

CVE-2026-124283

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 score (v4.0)8.9High
Exploitation: unknown in current evidence
No KEV listing in this record

Am I affected?

Check a product version without an account, or sign in for saved inventory assessments.

Ask about this evidence

Timeline

  1. Published by NVD
  2. First covered by RedTeamDaily
  3. Last updated by NVD

Affected products

ProductVersions
Ash-Hq Ash Framework
Component identitycpe:2.3:a:ash-hq:ash_framework
from 3.31.3 before 3.38.0

Source evidence and freshness

Lifecycle: Analyzed. Technical severity: CVSS 4.0 · Provider: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db. Exploitation evidence and inventory applicability are separate assessments.

Source configuration conditions

Source expressions may include required platforms and alternatives. Unsupported expressions remain unresolved in the version checker.

[
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:ash-hq:ash_framework:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "versionEndExcluding": "3.38.0",
            "versionStartIncluding": "3.31.3"
          }
        ],
        "operator": "OR"
      }
    ]
  }
]

CVSS: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

Last retrieval: Last verified conclusion: not recordedLast material change:
Provider-specific scores
  • 6b3ad84c-e1a6-4bf7-a703-f496b71e49db · CVSS 4.0 · 8.9 High CVSS: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
  • nvd@nist.gov · CVSS 3.1 · 9.8 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

NVD record · CVE record and primary references

Remediation by product and branch

Ash-Hq Ash Framework

from 3.31.3 before 3.38.0

verification required

Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.

NVD advisory · Verified: not recorded

FIRST EPSS forecast

No EPSS score has been imported for this vulnerability. This is unavailable data, not a zero forecast.

A model forecast of exploitation activity in the next 30 days. It does not establish applicability, observed attacks, impact or organisation-specific risk. FIRST methodology and limits

Change history

Changes to the source evidence for this vulnerability. Retrievals that changed nothing are not listed. Email already sent is not edited afterwards.

  1. Affected rule added ·

    Ash-Hq Ash Framework from 3.31.3 before 3.38.0 (NVD)

    Recorded entry #32066

    Reason recorded: affected rule changed

    {
      "fields": [],
      "rule": {
        "to": "3.38.0",
        "from": "3.31.3",
        "branch": null,
        "source": "NVD",
        "fixedIn": null,
        "toInclusive": false,
        "fixedVerified": false,
        "fromInclusive": true
      }
    }
  2. Provider-specific CVSS assessments, NVD affected-configuration data ·

    • Provider-specific CVSS assessments: updated
    • NVD affected-configuration data: updated NVD revised which product configurations it lists. Current data is in the affected products and source evidence above.
    Recorded entry #32065

    Reason recorded: source material change

    {
      "fields": [
        {
          "kind": "summary",
          "field": "assessments",
          "label": "Provider-specific CVSS assessments",
          "revised": null,
          "previous": null
        },
        {
          "kind": "summary",
          "field": "configuration_tree",
          "label": "NVD affected-configuration data",
          "revised": null,
          "previous": null
        }
      ]
    }
  3. NVD record status ·

    • NVD record status: Awaiting Analysis → Analyzed
    Recorded entry #32064

    Reason recorded: source material change

    {
      "fields": [
        {
          "kind": "value",
          "field": "nvd_status",
          "label": "NVD record status",
          "revised": "Analyzed",
          "previous": "Awaiting Analysis"
        }
      ]
    }
  4. NVD record status ·

    • NVD record status: Received → Awaiting Analysis
    Recorded entry #23394

    Reason recorded: source material change

    {
      "fields": [
        {
          "kind": "value",
          "field": "nvd_status",
          "label": "NVD record status",
          "revised": "Awaiting Analysis",
          "previous": "Received"
        }
      ]
    }
  5. Provider-specific CVSS assessments ·

    • Provider-specific CVSS assessments: updated
    Recorded entry #18947

    Reason recorded: source material change

    {
      "fields": [
        {
          "kind": "summary",
          "field": "assessments",
          "label": "Provider-specific CVSS assessments",
          "revised": null,
          "previous": null
        }
      ]
    }

Coverage

Security Affairs· · Critical priority

Hex.pm breach exploited a flaw dating to 2016; users told to reset passwords

An unauthorised party ran commands on six web servers on 23 November, using a CVSS 10 remote code execution flaw, CVE-2026-129514, that dated to February 2016. Hex says it deployed a fix within 20 minutes and found no evidence of changed packages, database changes or lasting access, but cannot rule out data theft because database reads are not logged. Exposed data may include email addresses, password and API key hashes, 2FA secrets and session data, so users should reset passwords and re-register authenticators.

Sources: NVD and CISA known exploited vulnerabilities catalogue.