Skip to main content
EPSS 0.2%top 91%

CVE-2026-78691: CWE-943 Improper Neutralization of Special Elements in Data Query Logic in ash-project ash_sql

0
Low
VulnerabilityCVE-2026-78691cvecve-2026-78691cwe-943
Published: 08/30/2026 (08/30/2026, 11:55:20 UTC)
Source: CVE Database V5
Vendor/Project: ash-project
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

ash-project

ash_sql

Affected versions
>=0.1.1-rc.10 <0.7.1

ash-project

ash_sql

ash_sql
pkg:hex/ash_sql
Affected versions
>=0.1.1-rc.10 <0.7.1
GitHub Actionsmore threats →cve
ash-project/ash_sql
pkg:github/ash-project/ash_sql
CPE configurations
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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 15:48:25 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses