Intel

AIKIDO-2026-553821

ash is vulnerable to Incorrect Behavior Order: Validate Before Canonicalize

Incorrect Behavior Order: Validate Before CanonicalizeCVE-2026-82736 Published 2 days ago

21

Low Risk

This Affects:

ELIXIRash
1.30.0 - 3.32.1
Fixed in 3.32.2
Are you affected? Scan for Free

TL;DR

The Ash.Type.CiString type checks max_length and match constraints against the raw input before case folding. Unicode case mapping is not length preserving, so a string that passes validation can grow during folding and exceed those constraints. This can overflow downstream columns or break invariants that rely on the constraint. The fix case-folds the value before checking the length and match constraints.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use Ash.Type.CiString with length or match constraints together with case folding.

Background info

ash is vulnerable to Incorrect Behavior Order: Validate Before Canonicalize in versions 1.30.0 - 3.32.1.

How to fix this

Upgrade the ash library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform