{"id":"CVE-2026-82738","state":"PUBLISHED","title":"Ash.Type.UUIDv7 accepts non-v7 UUIDs that then fail to load, causing persistent denial of service","description":"Improper Input Validation vulnerability in ash-project ash allows an attacker to persistently deny reads of a record by storing a non-version-7 UUID in an Ash.Type.UUIDv7 attribute.\n\nAsh.Type.UUIDv7.cast_input/2 accepts any well-formed UUID string, including non-version-7 UUIDs, and stores it as a 16-byte binary. On read, cast_stored/2 (lib/ash/type/uuid_v7.ex) routes the stored binary back through cast_input/2, which since an input-validation tightening in v3.6.3 matches only version-7 (and optionally version-4) 16-byte binaries and otherwise expects a 36-character string. A stored non-v7 16-byte binary matches neither clause and returns :error, so every later read of that record fails. An attacker able to set such an attribute poisons the row permanently. The fix decodes any 16-byte stored binary directly in cast_stored/2.\n\nThis issue affects ash: from 3.6.3 before 3.32.2.","publishedAt":"2026-09-01T03:26:23.035Z","updatedAt":"2026-09-01T12:47:34.853Z","severity":{"score":5.9,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"EEF"},"assigner":"EEF","products":["ash-project ash"],"affected":[{"vendor":"ash-project","product":"ash","packageName":"ash","packageURL":"pkg:hex/ash","defaultStatus":"unaffected","versions":[{"version":"3.6.3","status":"affected","lessThan":"3.32.2","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Ash.Type.UUIDv7'"],"programFiles":["lib/ash/type/uuid_v7.ex"],"programRoutines":[{"name":"'Elixir.Ash.Type.UUIDv7':cast_input/2"},{"name":"'Elixir.Ash.Type.UUIDv7':cast_stored/2"}],"repo":"https://github.com/ash-project/ash"},{"vendor":"ash-project","product":"ash","packageName":"ash-project/ash","packageURL":"pkg:github/ash-project/ash","defaultStatus":"unaffected","versions":[{"version":"751d8a4d11564efbe358c90c8347f3a00eb60782","status":"affected","lessThan":"c453cdc0b8570e86ffef0d10e136247f52b3ea76","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Ash.Type.UUIDv7'"],"programFiles":["lib/ash/type/uuid_v7.ex"],"programRoutines":[{"name":"'Elixir.Ash.Type.UUIDv7':cast_input/2"},{"name":"'Elixir.Ash.Type.UUIDv7':cast_stored/2"}],"repo":"https://github.com/ash-project/ash"}],"references":["https://github.com/ash-project/ash/security/advisories/GHSA-7xfw-9jwm-9c4c","https://cna.erlef.org/cves/CVE-2026-82738.html","https://osv.dev/vulnerability/EEF-CVE-2026-82738","https://github.com/ash-project/ash/commit/c453cdc0b8570e86ffef0d10e136247f52b3ea76"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/82xxx/CVE-2026-82738.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-82738","state":"PUBLISHED","datePublished":"2026-09-01T03:26:23.035Z","dateUpdated":"2026-09-01T12:47:34.853Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-08-31T00:59:10.002Z"},"containers":{"cna":{"title":"Ash.Type.UUIDv7 accepts non-v7 UUIDs that then fail to load, causing persistent denial of service","descriptions":[{"lang":"en","value":"Improper Input Validation vulnerability in ash-project ash allows an attacker to persistently deny reads of a record by storing a non-version-7 UUID in an Ash.Type.UUIDv7 attribute.\n\nAsh.Type.UUIDv7.cast_input/2 accepts any well-formed UUID string, including non-version-7 UUIDs, and stores it as a 16-byte binary. On read, cast_stored/2 (lib/ash/type/uuid_v7.ex) routes the stored binary back through cast_input/2, which since an input-validation tightening in v3.6.3 matches only version-7 (and optionally version-4) 16-byte binaries and otherwise expects a 36-character string. A stored non-v7 16-byte binary matches neither clause and returns :error, so every later read of that record fails. An attacker able to set such an attribute poisons the row permanently. The fix decodes any 16-byte stored binary directly in cast_stored/2.\n\nThis issue affects ash: from 3.6.3 before 3.32.2."}],"affected":[{"vendor":"ash-project","product":"ash","packageName":"ash","packageURL":"pkg:hex/ash","defaultStatus":"unaffected","versions":[{"version":"3.6.3","status":"affected","lessThan":"3.32.2","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Ash.Type.UUIDv7'"],"programFiles":["lib/ash/type/uuid_v7.ex"],"programRoutines":[{"name":"'Elixir.Ash.Type.UUIDv7':cast_input/2"},{"name":"'Elixir.Ash.Type.UUIDv7':cast_stored/2"}],"repo":"https://github.com/ash-project/ash"},{"vendor":"ash-project","product":"ash","packageName":"ash-project/ash","packageURL":"pkg:github/ash-project/ash","defaultStatus":"unaffected","versions":[{"version":"751d8a4d11564efbe358c90c8347f3a00eb60782","status":"affected","lessThan":"c453cdc0b8570e86ffef0d10e136247f52b3ea76","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Ash.Type.UUIDv7'"],"programFiles":["lib/ash/type/uuid_v7.ex"],"programRoutines":[{"name":"'Elixir.Ash.Type.UUIDv7':cast_input/2"},{"name":"'Elixir.Ash.Type.UUIDv7':cast_stored/2"}],"repo":"https://github.com/ash-project/ash"}],"references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-7xfw-9jwm-9c4c","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82738.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82738","tags":["related"]},{"url":"https://github.com/ash-project/ash/commit/c453cdc0b8570e86ffef0d10e136247f52b3ea76","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":5.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-09-01T03:26:23.035Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","versionEndExcluding":"3.32.2","versionStartIncluding":"3.6.3","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"},{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"finder","value":"Peter Ullrich"}],"impacts":[{"capecId":"CAPEC-153","descriptions":[{"lang":"en","value":"CAPEC-153 Input Data Manipulation"}]}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-7xfw-9jwm-9c4c","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-01T12:46:45.556475Z","id":"CVE-2026-82738","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-01T12:47:34.853Z"}}]}}}