CVE-2026-80227
Last modified
CVE-2026-80227 is a low-severity vulnerability rated 2.1/10 on the CVSS scale. Incorrect Comparison vulnerability in ash-project ash_sql allows a user to pad a string field with tab, newline, carriage-return, or form-feed characters and pass a trimmed uniqueness or equality check in the database that the same expression would fail in memory (or the reverse). string_trim/1 compiles to REGEXP_REPLACE patterns built from an Elixir string in which \s is the escape for a single space (codepoint 32), not a regex whitespace class. The generated SQL therefore removes only literal spaces and leaves tabs, newlines, carriage returns, and form feeds in place, whereas String.trim/1 in Elixir removes them all. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
Incorrect Comparison vulnerability in ash-project ash_sql allows a user to pad a string field with tab, newline, carriage-return, or form-feed characters and pass a trimmed uniqueness or equality check in the database that the same expression would fail in memory (or the reverse). string_trim/1 compiles to REGEXP_REPLACE patterns built from an Elixir string in which \s is the escape for a single space (codepoint 32), not a regex whitespace class. The generated SQL therefore removes only literal spaces and leaves tabs, newlines, carriage returns, and form feeds in place, whereas String.trim/1 in Elixir removes them all. Any Ash filter, validation, or identity that relies on string_trim/1 then behaves differently depending on whether Ash pushes the expression down to SQL or evaluates it in memory, so padded input can register a near-duplicate value or slip past a trimmed comparison. This issue affects ash_sql: from 0.1.0 before 0.7.1.
Metrics
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ash-project | ash_sql | >= 0.1.0, < 0.7.1 |
| ash-project | ash_sql | >= dd092ed273dec7bd2194352f24a39229fc8ae68b, < 1b11b5d8bc5321e2e6acac21594ef08f61986117 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-80227?
How severe is CVE-2026-80227?
How do I fix CVE-2026-80227?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-80211FrontAccounting through 2.4.20 stores and verifies user pass…5.9
- CVE-2026-80212An issue was discovered in the resolv gem before 0.7.2 for R…7.5
- CVE-2026-80213An issue was discovered in the resolv gem before 0.7.2 for R…4
- CVE-2026-80214LibreNMS’s Virtualization Discovery module is vulnerable to …8.6
- CVE-2026-8022Inappropriate implementation in MHTML in Google Chrome prior…3.1
- CVE-2026-80223Incorrect Authorization vulnerability in ash-project ash_gra…7.1
- CVE-2026-8023Zephyr's HTTP server (subsys/net/lib/http) provides a static…7.5
- CVE-2026-80233CAYIN CMS-WS, CMS-SE, and SMP series products developed by C…7.2
- CVE-2026-80234CAYIN CMS-WS and CMS-SE developed by CAYIN Technology have a…5.3
- CVE-2026-80235EFence developed by Thinking Software Technology has an Arbi…9.8
- CVE-2026-80236Efence developed by Thinking Software Technology has a SQL I…8.2
- CVE-2026-80237EFence developed by Thinking Software Technology has an Arbi…8.8
Are you affected by CVE-2026-80227?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
