CVE-2026-80227: ash_sql · Incorrect Comparison
Affects ash_sqlSource CVE Database V5
Not known to be exploited · CVSS 2.1 Low : upgrade to 0.7.1 when convenient.
Data as of 28 Nov 2026, 18:37 UTC
Thin evidence
One scorer or none| CNA (EEF) | CVSS 4.0 | 2.1 |
|---|
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.7.1, 1b11b5d8bc5321e2e6acac21594ef08f61986117
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.
What to do
Upgrade ash_sql to 0.7.1; ash_sql to 1b11b5d8bc5321e2e6acac21594ef08f61986117.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ash-projectash_sql | Affected
| Fixed in
|
| ash_sqlash-project/ash_sql | Affected
| Fixed in
|
Hexash_sqlpkg:hex/ash_sqlOther threats | Affected
| Fixed in
|
CPE configurations (1)
cpe:2.3:a:ash-project:ash_sql:*:*:*:*:*:*:*:*
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade ash_sql to version 0.7.1 or later, where the issue is fixed. No other mitigation is required as the fix addresses the root cause by aligning string trimming behavior between SQL and in-memory operations.
Description
CVE-2026-80227 is an incorrect comparison vulnerability in the ash-project's ash_sql component. It arises because the string trimming function used in SQL removes only literal spaces, while the in-memory Elixir string trimming removes all whitespace characters including tabs, newlines, carriage returns, and form feeds. This discrepancy allows padded strings with certain whitespace characters to bypass trimmed uniqueness or equality checks in the database, causing inconsistent behavior between SQL and in-memory evaluations. Versions from 0.1.0 up to but not including 0.7.1 are affected. The issue is fixed in version 0.7.1.
References
- github.com/ash-project/ash_sql/security/advisories/GHSA-76wx-w7ww-5xfq (opens in a new tab)
- cna.erlef.org/cves/CVE-2026-80227.html (opens in a new tab)
- osv.dev/vulnerability/EEF-CVE-2026-80227 (opens in a new tab)
- github.com/ash-project/ash_sql/commit/1b11b5d8bc5321e2e6acac21594ef08f61986117 (opens in a new tab)
- github.com/ash-project/ash_sql/commit/dd092ed273dec7bd2194352f24a39229fc8ae68b (opens in a new tab)