String Comparison Vulnerability in Ash SQL by Ash Project
CVE-2026-80227
2.1LOW
What is CVE-2026-80227?
The vulnerability in Ash SQL allows users to bypass trimmed uniqueness and equality checks in the database by padding string fields with non-space whitespace characters such as tabs and newlines. This occurs due to the insufficient regex configuration in the string_trim/1 function, which only removes literal spaces, resulting in different behaviors based on whether the evaluation occurs in memory or in SQL. This inconsistency can lead to near-duplicate values being improperly registered, undermining data integrity.
Affected Version(s)
ash_sql 0.1.0 < 0.7.1
ash_sql dd092ed273dec7bd2194352f24a39229fc8ae68b < 1b11b5d8bc5321e2e6acac21594ef08f61986117
References
CVSS V4
Score:
2.1
Severity:
LOW
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Peter Ullrich
Peter Ullrich
Zach Daniel / Ash Project
Jonatan Männchen / EEF
