> CVE-2026-78691 [LOW]

« BACK_TO_HOME
PUBLISHED
2026-08-30 12:17
MODIFIED
2026-08-30 12:17
CVSS_SCORE V3
2.1
EPSS (Prob. Exploit)
0.20%
Top 91.1%
DATA SOURCES:
NVD đź”— 2026-08-30 CWE MITRE đź”— 2026-09-01 FIRST EPSS đź”— 2026-10-25 OSV đź”— 2026-09-06

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
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

> MÉTRIQUES CVSS DÉTAILLÉES

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
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-943

> CWE DETAILED DESCRIPTIONS

CWE-943: Improper Neutralization of Special Elements in Data Query Logic - The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Unescaped backslash allows LIKE wildcard injection in AshSql string search

AFFECTED PACKAGES:
Unknown / Unknown
144 versions affected
ALIASES:
EEF-CVE-2026-78691, GHSA-5jgp-7mhc-6qqh

> HISTORIQUE DES MODIFICATIONS

Première apparition
30/08/2026 12:17
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-943: Improper Neutralization of Special Elements in Data Query Logic - The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutr...
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://cna.erlef.org/cves/CVE-2026-78691.html
https://github.com/ash-project/ash_sql/commit/d95c55c64b1b42cc2fd30211a4913f3145...
https://github.com/ash-project/ash_sql/security/advisories/GHSA-5jgp-7mhc-6qqh
https://osv.dev/vulnerability/EEF-CVE-2026-78691
« BACK_TO_HOME