CVE-2026-78691: CWE-943 Improper Neutralization of Special Elements in Data Query Logic in ash-project ash_sql
Description
CVE-2026-78691 is a vulnerability in ash-project's ash_sql component where improper neutralization of special elements in SQL LIKE query logic allows an attacker to inject live SQL LIKE wildcards. This occurs because the escaping mechanism does not properly escape backslashes, enabling attackers to manipulate pattern matching. The vulnerability affects versions from 0.1.1-rc.10 before 0.7.1 of ash_sql. The CVSS score is low, indicating limited impact.
CVSS v4.0
Score 2.1low
Affected software
ash-project
ash_sql
ash-project
ash_sql
cpe:2.3:a:ash-project:ash_sql:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from improper escaping in ash_sql's search functions (contains/2, string_starts_with/2, string_ends_with/2) that use SQL LIKE patterns. The escape helpers prefix % and _ with a backslash but fail to escape existing backslashes in input, allowing an attacker to inject live wildcards by crafting inputs like \\%. This leads to unintended pattern matching behavior within the LIKE grammar, enabling attackers to widen matches, bypass negated contains guards, or cause query crashes with trailing backslashes. The issue is confined to LIKE pattern manipulation and does not affect full SQL query parameterization.
Potential Impact
The impact is limited to manipulation of SQL LIKE pattern matching, potentially allowing attackers to broaden search results, bypass certain query filters, or cause query errors. There is no direct full SQL injection or privilege escalation. The CVSS score of 2.1 reflects low severity and limited attack vector (local access). No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time. Users should monitor vendor communications for updates. Since the vulnerability is limited to LIKE pattern escaping, temporary mitigations could include sanitizing inputs to avoid backslash sequences or avoiding use of affected search functions until a fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-08-30T05:45:01.818Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a941d0cacd9273b4981c0d0
Added to database: 08/30/2026, 12:07:40 UTC
Last enriched: 09/07/2026, 15:48:25 UTC
Last updated: 10/13/2026, 18:48:24 UTC
Views: 94
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.