Quick answers
- Is CVE-2026-80227 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-80227 being exploited in the wild.
- How severe is CVE-2026-80227?
- Informational severity, published 30 August 2026.
- Which products and versions are affected?
- Ash-Project Ash Sql 0.1.0 to 0.7.0.
- Is there a fix for CVE-2026-80227?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-80227 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-80227?
- Check whether you run Ash-Project Ash Sql at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability is an incorrect comparison bug in the string_trim/1 function of ash_sql. The root cause is that the generated REGEXP_REPLACE SQL pattern interprets \s as a literal space character (codepoint 32) rather than a regex whitespace class, whereas Elixir's String.trim/1 removes all whitespace including tabs, newlines, carriage returns, and form feeds. This inconsistency allows an attacker to craft padded input that passes a trimmed uniqueness or equality check when evaluated in SQL but would fail in Elixir memory, or vice versa. Any Ash filter, validation, or identity constraint relying on string_trim/1 is affected. The vulnerability affects ash_sql versions 0.1.0 through 0.7.0; a patch is available in version 0.7.1.
Affected products
- ash-project ash_sql 0.1.0 to 0.7.0
Timeline
- 2026-08-30: disclosed