CVE-2026-77846 JSON path injection via unescaped get_path segments in AshSqlite
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ash-project ash sqlite | >= 0.1.2-rc.0, < 0.2.18; >= c12be48a5b6295593199b0e445b70a4aef81d1cd, < 2138480fceb654bec1845e691517ac409d0232c3 | 0.2.18, 2138480fceb654bec1845e691517ac409d0232c3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ash-project ash sqlite | >= 0.1.2-rc.0, < 0.2.18 | 0.2.18 |
| ash-project ash sqlite | >= c12be48a5b6295593199b0e445b70a4aef81d1cd, < 2138480fceb654bec1845e691517ac409d0232c3 | 2138480fceb654bec1845e691517ac409d0232c3 |
References
- github.com exploit related vendor-advisory
- EEF CNA record for CVE-2026-77846 related
- OSV record EEF-CVE-2026-77846 related
- Fix commit 2138480 in ash-project/ash_sqlite patch
- Introducing commit c12be48 in ash-project/ash_sqlite related
- ENISA EUVD EUVD-2026-68147 third-party-advisory