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
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
- Deferred
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-80217Hidden functionality issue exists in FF-RFI079I4 and FF-RFI0…8.7
- CVE-2026-80218Improper Authentication vulnerability in team-alembic AshAut…7.6
- CVE-2026-80219Rejected reason: Red Hat Product Security has come to the co…
- 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-80225In NLnetLabs Unbound up to and including 1.26.0, a degradati…7.5
- CVE-2026-80229When performing transfers via libcurl’s multi interface, poo…7.5
- CVE-2026-8023Zephyr's HTTP server (subsys/net/lib/http) provides a static…7.5
- CVE-2026-80230When `CURLOPT_PINNEDPUBLICKEY` is configured alongside optio…7.5
- CVE-2026-80231A flaw in libcurl makes it wrongly reuse an existing HTTPS c…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
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
