{"id":"EEF-CVE-2026-82681","summary":"Query-parameter injection in AshAdmin row-action links via unencoded string primary keys","details":"## Summary\n\nImproper Encoding or Escaping of Output vulnerability in ash-project ash_admin lets an attacker who controls a record's string primary key rewrite the target of AshAdmin's row-action links.\n\nThe `Table`, `DataTable`, and `Show` components built row-action URLs by raw string interpolation, splicing the primary key (and table, domain, and resource names) into the query string without URL-encoding. Ash resources routinely use user-settable string primary keys (slugs, emails). Because `Plug.Conn.Query` resolves duplicate parameters last-wins and `primary_key` is interpolated last, a stored key such as `foo&action_type=destroy` injects parameters that override the link, so an admin clicking `edit` is sent to a destroy form or an arbitrary resource; a `#` truncates the query into a fragment. The fix builds every link with `URI.encode_query/1`, encoding all interpolated values.\n\nThis issue affects ash_admin: from 0.3.0-rc.0 before 1.3.1.","aliases":["CVE-2026-82681","GHSA-j89q-xjrh-c26p"],"modified":"2026-09-08T03:45:09.697531291Z","published":"2026-08-31T02:26:05.357Z","database_specific":{"cpe_ids":["cpe:2.3:a:ash-project:ash_admin:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-116"],"capec_ids":["CAPEC-460"]},"references":[{"type":"ADVISORY","url":"https://github.com/ash-project/ash_admin/security/advisories/GHSA-j89q-xjrh-c26p"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-82681.html"},{"type":"FIX","url":"https://github.com/ash-project/ash_admin/commit/8e8ef91e8ba07498053887c6212f8b0f08178df6"},{"type":"PACKAGE","url":"https://hex.pm/packages/ash_admin"}],"affected":[{"package":{"name":"ash_admin","ecosystem":"Hex","purl":"pkg:hex/ash_admin"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.3.0-rc.0"},{"fixed":"1.3.1"}]}],"versions":["0.10.0","0.10.1","0.10.10","0.10.10-rc.0","0.10.10-rc.1","0.10.11","0.10.12","0.10.2","0.10.3","0.10.4","0.10.5","0.10.6","0.10.7","0.10.8","0.10.9","0.11.0","0.11.1","0.11.10","0.11.11","0.11.2","0.11.3","0.11.4","0.11.5","0.11.6","0.11.7","0.11.8","0.11.9","0.12.0","0.12.1","0.12.2","0.12.3","0.12.4","0.12.5","0.12.6","0.13.0","0.13.1","0.13.10","0.13.11","0.13.12","0.13.13","0.13.14","0.13.15","0.13.16","0.13.17","0.13.18","0.13.19","0.13.2","0.13.20","0.13.21","0.13.22","0.13.23","0.13.24","0.13.25","0.13.26","0.13.3","0.13.4","0.13.5","0.13.6","0.13.7","0.13.8","0.13.9","0.14.0","0.3.0-rc.0","0.4.0","0.4.2","0.4.4","0.4.5-rc.0","0.5.0","0.5.1-rc.0","0.5.2","0.6.0-rc.0","0.6.0-rc.1","0.6.0-rc.2","0.6.1","0.6.2","0.7.0","0.7.1","0.8.0","0.8.1","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","1.0.0-rc.0","1.1.0","1.2.0","1.3.0"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-82681.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ash-project/ash_admin","events":[{"introduced":"b214535f0cc012e36ca621e643bf8f7b133ba354"},{"fixed":"8e8ef91e8ba07498053887c6212f8b0f08178df6"}]}],"versions":["v1.3.0","v1.2.0","v1.1.0","v0.14.0","v0.13.26","v0.13.25","v0.13.24","v0.13.23","v0.13.22","v0.13.21","v0.13.20","v0.13.19","v0.13.18","v0.13.17","v0.13.16","v0.13.15","v0.13.14","v0.13.13","v0.13.12","v0.13.11","v0.13.10","v0.13.9","v0.13.8","v0.13.7","v0.13.6","v0.13.5","v0.13.4","v0.13.3","v0.13.2","v0.13.0","v0.12.6","v0.12.5","v0.12.4","v0.12.3","v0.12.2","v0.12.1","v0.12.0","v0.11.11","v0.11.10","v0.11.9","v0.11.8","v0.11.7","v0.11.6","v0.11.4","v0.11.3","v0.11.2","v0.11.1","v0.10.10","v0.10.10-rc.1","v0.10.10-rc.0","v0.10.9","v0.10.8","v0.10.7","v0.10.6","v0.10.5","v0.10.4","v0.10.3","v0.10.2","v0.10.1","v0.10.0","v0.9.8","v0.9.7","v0.9.6","v0.9.5","v0.9.4","v0.9.2","v0.9.1","v0.9.0","v0.8.2","v0.8.1","v0.8.0","v0.7.1","v0.7.0","v0.6.2","v0.6.1","v0.6.0-rc.2","v0.6.0-rc.1","v0.6.0-rc.0","v0.5.2","v0.5.1-rc.0","v0.5.0","v0.4.5-rc.0","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.0-rc.0"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-82681.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:L/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"}]}