{"id":"EEF-CVE-2026-77846","summary":"JSON path injection via unescaped get_path segments in AshSqlite","details":"## Summary\n\nImproper 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.\n\n`AshSqlite.SqlImplementation` builds the SQLite `json_extract` path with `\"$.\" \u003c\u003e 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.\n\nThis issue affects ash_sqlite: from 0.1.2-rc.0 before 0.2.18.\n\n## Configurations\n\nAn application must let untrusted input reach a `get_path/2` path segment over a JSON/map column (for example a public calculation or filter argument that selects a key).","aliases":["CVE-2026-77846","GHSA-hrp2-5hgw-c83c"],"modified":"2026-09-08T03:45:03.421886293Z","published":"2026-08-30T02:52:12.562Z","database_specific":{"capec_ids":["CAPEC-676"],"cpe_ids":["cpe:2.3:a:ash-project:ash_sqlite:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-943"]},"references":[{"type":"ADVISORY","url":"https://github.com/ash-project/ash_sqlite/security/advisories/GHSA-hrp2-5hgw-c83c"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-77846.html"},{"type":"FIX","url":"https://github.com/ash-project/ash_sqlite/commit/2138480fceb654bec1845e691517ac409d0232c3"},{"type":"PACKAGE","url":"https://hex.pm/packages/ash_sqlite"}],"affected":[{"package":{"name":"ash_sqlite","ecosystem":"Hex","purl":"pkg:hex/ash_sqlite"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.2-rc.0"},{"fixed":"0.2.18"}]}],"versions":["0.1.2","0.1.2-rc.0","0.1.2-rc.1","0.1.3","0.2.0","0.2.1","0.2.10","0.2.11","0.2.12","0.2.13","0.2.14","0.2.15","0.2.16","0.2.17","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.8","0.2.9"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-77846.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ash-project/ash_sqlite","events":[{"introduced":"c12be48a5b6295593199b0e445b70a4aef81d1cd"},{"fixed":"2138480fceb654bec1845e691517ac409d0232c3"}]}],"versions":["v0.2.17","v0.2.16","v0.2.15","v0.2.14","v0.2.13","v0.2.12","v0.2.11","v0.2.10","v0.2.9","v0.2.7","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.3","v0.1.2","v0.1.2-rc.1","v0.1.2-rc.0"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-77846.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}],"credits":[{"name":"Peter Ullrich","type":"FINDER"},{"name":"Peter Ullrich","type":"REPORTER"},{"name":"Zach Daniel / Ash Project","type":"REMEDIATION_DEVELOPER"},{"name":"Jonatan Männchen / EEF","type":"COORDINATOR"}]}