CVE Catalog

CVE-2026-77846

LowCVSS 2.1
Published: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

4th percentile - higher than 4% of all known CVEs

Summary

The ash_sqlite library (ash-project) has an improper neutralization of special elements in data query logic vulnerability. An attacker who controls a get_path/2 segment can traverse into nested JSON the application never exposed, disclosing private or sensitive? embedded fields. This happens because the JSON path is built by concatenating segments without proper escaping.

Risk Assessment

An attacker can access sensitive data stored in nested JSON structures, leading to confidentiality breaches. The vulnerability affects versions from 0.1.2-rc.0 before 0.2.18.

Recommendation

Update ash_sqlite to version 0.2.18 or later, which includes the fix. Additionally, validate and sanitize user input before using it in get_path.

Related vulnerabilities

Original NVD description (English source)

Improper Neutralization of Special Elements in Data Query Logic vulnerability in ash-project ash_sqlite allows an attacker who controls a get_path/2 segment to traverse into nested JSON the application never exposed, disclosing private or sensitive? embedded fields. AshSqlite.SqlImplementation builds the SQLite json_extract path with "$." <> Enum.join(right, "."), so a single segment containing ., [, ], or $ re-interprets the JSON path (for example "private.secret" descends two levels instead of naming one key). The path is bound as a parameter, so this is confined to the JSON-path grammar rather than SQL. Any endpoint that lets user input reach a get_path segment (a common pick-a-field pattern) can read nested values it never meant to expose. This issue affects ash_sqlite: from 0.1.2-rc.0 before 0.2.18.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS