CVE-2026-78691Ash Project Ash Sql vulnerability
CVSS score
2.1
Low
CVSS 4.0 from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Exploit probability (EPSS)
0.19%
0.19% chance of exploitation in the next 30 days, higher than 9.09% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
Improper Neutralization of Special Elements in Data Query Logic vulnerability in ash-project ash_sql allows a user who supplies a search term to contains/2, string_starts_with/2, or string_ends_with/2 to inject live SQL LIKE wildcards, turning a literal substring search into an attacker-controlled pattern match.
The escape helpers in AshSql.Expr prefix % and _ with a backslash but never escape a backslash already present in the input. Because backslash is the default LIKE escape character, the escaping defeats itself: the input \% becomes the pattern fragment \\%, where \\ is a literal backslash and the attacker's % remains a live wildcard. The search value stays parameterized, so this is confined to the LIKE pattern grammar rather than full SQL. An attacker can widen matches to probe values, slip past a negated contains(...) guard, or crash the query with a trailing lone backslash.
This issue affects ash_sql: from 0.1.1-rc.10 before 0.7.1.
Source: NVD · CNA: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
How to fix it, step by step
Check whether you're affected
Find every system running ash-project Ash Sql and compare its version with the affected versions.
Update to a fixed version
- Update Ash Sql to 0.7.1 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/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
Affected products
| Affected products | Versions |
|---|---|
| ash-project Ash Sql | ≥ 0.1.1-rc.10, < 0.7.1 · ≥ cfc7da474c5be2190fd62664a83a689377a8d512, < d95c55c64b1b42cc2fd30211a4913f3145156cd4 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-78691 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-78691?
CVE-2026-78691 has a CVSS 4.0 base score of 2.1 (low).
Which versions are affected?
Ash Project Ash Sql (≥ 0.1.1-rc.10, < 0.7.1; ≥ cfc7da474c5be2190fd62664a83a689377a8d512, < d95c55c64b1b42cc2fd30211a4913f3145156cd4)
Is there a patch for CVE-2026-78691?
The official record links to vendor advisories or patches; see “What to do” above.
References
- cna.erlef.org/cves/CVE-2026-78691.html
- github.com/ash-project/ash_sql/commit/cfc7da474c5be2190fd62664a83a689377a8d512
- github.com/ash-project/ash_sql/commit/d95c55c64b1b42cc2fd30211a4913f3145156cd4
- github.com/ash-project/ash_sql/security/advisories/GHSA-5jgp-7mhc-6qqh
- osv.dev/vulnerability/EEF-CVE-2026-78691
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.