CVE-2026-80227
CVE-2026-80227 — SQL string_trim removes only spaces, diverging from in-memory trimming in AshSql
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…
Published Updated Sources: cvelistV5, EEF
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
2.1
LOW
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 2.1 | CVSS 4.0 | LOW | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-697
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1027Obfuscated Files or Information
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /1.
References
5 on the record
- github.com/ash-project/ash_sql/security/advisories/GHSA-76wx-w7ww-5xfq
vendor-advisory, related
- cna.erlef.org/cves/CVE-2026-80227.html
related
- osv.dev/vulnerability/EEF-CVE-2026-80227
related
- github.com/ash-project/ash_sql/commit/dd092ed273dec7bd2194352f24a39229fc8ae68b
related
- github.com/ash-project/ash_sql/commit/1b11b5d8bc5321e2e6acac21594ef08f61986117
patch
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2024-5217 ServiceNow Incomplete List of Disallowed Inputs VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2020-5849 Unraid Authentication Bypass VulnerabilityCVSS 7.5 · CISA KEV
- CVE-2026-20333 Cisco Secure Adaptive Security Appliance Software, Secure Firewall Threat Defense Software and Secure Firewall Management Center Software Hardening Release - Incorrect Comparison VulnerabilitiesCVSS 8.8
Elsewhere on this site
- Ash Projectevery CVE for this vendor
- CWE-697other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.