Intel

AIKIDO-2026-807320

ash_sqlite is vulnerable to Improper Neutralization of Special Elements in Data Query Logic

Improper Neutralization of Special Elements in Data Query LogicCVE-2026-77846 Published 2 days ago

21

Low Risk

This Affects:

ELIXIRash_sqlite
0.0.1 - 0.2.17
Fixed in 0.2.18
Are you affected? Scan for Free

TL;DR

AshSqlite builds SQLite JSON path expressions in AshSqlite.SqlImplementation by concatenating get_path segments into a $. path string. Unescaped segments that contain ., [, ], or $ become extra JSON path traversal instead of one literal key. Untrusted path segments can then access nested JSON and read private or sensitive fields. The fix quotes and escapes each segment via encode_json_path so dotted keys resolve to one literal key.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes untrusted get_path segments when querying nested JSON fields.

Background info

ash_sqlite is vulnerable to Improper Neutralization of Special Elements in Data Query Logic in versions 0.0.1 - 0.2.17.

How to fix this

Upgrade the ash_sqlite library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform