{"id":"CVE-2026-82681","summary":"Query-parameter injection in AshAdmin row-action links via unencoded string primary keys","details":"Improper 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":["EEF-CVE-2026-82681","GHSA-j89q-xjrh-c26p"],"modified":"2026-09-03T03:30:46.891033821Z","published":"2026-08-31T02:26:05.357Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"b214535f0cc012e36ca621e643bf8f7b133ba354"},{"fixed":"8e8ef91e8ba07498053887c6212f8b0f08178df6"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"EEF","cwe_ids":["CWE-116"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82681.json"},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-82681.html"},{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82681"},{"type":"WEB","url":"https://repo.hex.pm"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82681.json"},{"type":"ADVISORY","url":"https://github.com/ash-project/ash_admin/security/advisories/GHSA-j89q-xjrh-c26p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82681"},{"type":"FIX","url":"https://github.com/ash-project/ash_admin/commit/8e8ef91e8ba07498053887c6212f8b0f08178df6"},{"type":"PACKAGE","url":"https://github.com/ash-project/ash_admin"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ash-project/ash_admin","events":[{"introduced":"6489cad6e1c2991cb3570474fae1cbe48309c40b"},{"fixed":"91da87c1c23cd6199ba1b0a1c8849a4c605130cc"},{"fixed":"8e8ef91e8ba07498053887c6212f8b0f08178df6"}],"database_specific":{"extracted_events":[{"introduced":"0.3.0-rc.0"},{"fixed":"1.3.1"}],"source":["DESCRIPTION","REFERENCES"]}}],"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://storage.googleapis.com/cve-osv-conversion/osv-output/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"}]}