CVE-2026-77846 JSON path injection via unescaped get_path segments in AshSqlite

Low 2.1 Published Updated

Attackers can read private nested JSON fields by injecting special characters into path segments, exposing sensitive data in AshSqlite applications.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-77846?

CVE-2026-77846 is a low-severity vulnerability in ash-project ash_sqlite, published on 30 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-943

Which versions are affected by CVE-2026-77846?

1 open source package ship an affected version, including ash_sqlite.

PackageAffectedFixed in
ash_sqlite HexFrom 0.1.2-rc.00.2.18

How do I fix CVE-2026-77846?

Upgrade ash_sqlite to 0.2.18 or later.

Is CVE-2026-77846 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-77846 exists.

Sources

Also known as EEF-CVE-2026-77846, GHSA-hrp2-5hgw-c83c.

Is CVE-2026-77846 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free