5.9medium
Ash.Type.UUIDv7 accepts non-v7 UUIDs that then fail to load, causing persistent denial of service
- Severity
- 5.9medium CVSS:4.0 by EEF
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- EEF
- Also known as
- EEF-CVE-2026-82738GHSA-7xfw-9jwm-9c4c
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. Ash.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. This issue affects ash: from 3.6.3 before 3.32.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ash | from 3.6.3 before 3.32.2 | CVE List |
| ash-project/ash | from 751d8a4d11564efbe358c90c8347f3a00eb60782 before c453cdc0b8570e86ffef0d10e136247f52b3ea76 | CVE List |
| ash (Hex) | from 3.6.3 before 3.32.2 | Erlang Ecosystem Foundation |
| https://github.com/ash-project/ash | from 751d8a4d11564efbe358c90c8347f3a00eb60782 before c453cdc0b8570e86ffef0d10e136247f52b3ea76 | Erlang Ecosystem Foundation |
All scores
| EEF | 5.9medium CVSS:4.0 | 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 |
| Erlang Ecosystem Foundation | Not scored CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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. Ash.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. This issue affects ash: from 3.6.3 before 3.32.2.
Erlang Ecosystem Foundation
Summary
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.
Ash.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.
This issue affects ash: from 3.6.3 before 3.32.2.
References
| https://github.com/ash-project/ash/security/advisories/GHSA-7xfw-9jwm-9c4c | advisory, exploit, related, vendor-advisory | |
| https://cna.erlef.org/cves/CVE-2026-82738.html | related, web | |
| https://osv.dev/vulnerability/EEF-CVE-2026-82738 | related | |
| https://github.com/ash-project/ash/commit/751d8a4d11564efbe358c90c8347f3a00eb60782 | related, web | |
| https://github.com/ash-project/ash/commit/c453cdc0b8570e86ffef0d10e136247f52b3ea76 | fix, patch | |
| https://hex.pm/packages/ash | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-82738 changed 2026-11-19 | CVE Terms of Use |
| Erlang Ecosystem Foundation | EEF-CVE-2026-82738 changed 2026-11-25 | CC-BY-4.0 |
| NVD | CVE-2026-82738 changed 2026-11-19 | Public domain |