CVE-2026-82734 Non-finite Infinity/NaN decimal values bypass bounds constraints in Ash.Type.Decimal
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
Improper Validation of Specified Quantity in Input vulnerability in ash-project ash allows an attacker to submit a non-finite decimal value that bypasses numeric bounds constraints or fails later operations on the value.
Ash.Type.Decimal cast input through Ecto's decimal cast in cast_input/2 and cast_stored/2 (lib/ash/type/decimal.ex) without checking that the resulting value is finite. Elixir's Decimal represents Infinity and NaN as valid structs, so a value such as "Infinity" or "NaN" passed casting and was persisted. Because NaN compares as false against every bound, min and max constraints do not reject it, and the stored special value later raises when used in Decimal arithmetic or is refused by the data layer, failing subsequent requests. The fix rejects any non-finite Decimal during casting.
This issue affects ash: from 1.28.0 before 3.32.2.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ash-project ash | >= 1.28.0, < 3.32.2; >= db6bdfcf1518c70d67975efb140cdeb2cb6a76e7, < 818087b1b3364f2af6f5460d6b01262ad0f69204 | 3.32.2, 818087b1b3364f2af6f5460d6b01262ad0f69204 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ash-project ash | >= 1.28.0, < 3.32.2 | 3.32.2 |
| ash-project ash | >= db6bdfcf1518c70d67975efb140cdeb2cb6a76e7, < 818087b1b3364f2af6f5460d6b01262ad0f69204 | 818087b1b3364f2af6f5460d6b01262ad0f69204 |
References
- github.com exploit related vendor-advisory
- EEF CNA record for CVE-2026-82734 related
- OSV record EEF-CVE-2026-82734 related
- Fix commit 818087b in ash-project/ash patch
- Introducing commit db6bdfc in ash-project/ash related
- ENISA EUVD EUVD-2026-68960 third-party-advisory