{"id":"CVE-2026-82681","aliases":["CVE-2026-82681","EEF-CVE-2026-82681","GHSA-j89q-xjrh-c26p"],"related":[],"kind":"vulnerability","state":"published","title":"Query-parameter injection in AshAdmin row-action links via unencoded string primary keys","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## 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.","format":"markdown","source":"eef"}],"published":"2026-08-31T02:26:05.357Z","modified":"2026-11-25T06:31:04.676Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":2,"rating":"LOW"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":2,"rating":"LOW"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-116"],"affected":[{"ranges":[{"type":"semver","introduced":"0.3.0-rc.0","fixed":"1.3.1","status":"affected"}],"vendor":"ash-project","product":"ash_admin","package":"ash_admin","cpe":"cpe:2.3:a:ash-project:ash_admin:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_admin","source":"cvelist"},{"ranges":[{"type":"git","introduced":"b214535f0cc012e36ca621e643bf8f7b133ba354","fixed":"8e8ef91e8ba07498053887c6212f8b0f08178df6","status":"affected"}],"vendor":"ash-project","product":"ash_admin","package":"ash-project/ash_admin","cpe":"cpe:2.3:a:ash-project:ash_admin:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_admin","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.3.0-rc.0","status":"affected","fixed":"1.3.1"}],"ecosystem":"Hex","package":"ash_admin","purl":"pkg:hex/ash_admin","source":"eef"},{"ranges":[{"type":"git","introduced":"b214535f0cc012e36ca621e643bf8f7b133ba354","status":"affected","fixed":"8e8ef91e8ba07498053887c6212f8b0f08178df6"}],"repo":"https://github.com/ash-project/ash_admin","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash_admin/security/advisories/GHSA-j89q-xjrh-c26p","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82681.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82681","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ash-project/ash_admin/commit/b214535f0cc012e36ca621e643bf8f7b133ba354","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash_admin/commit/8e8ef91e8ba07498053887c6212f8b0f08178df6","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash_admin","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich","Jonatan Männchen / EEF","Zach Daniel / Ash Project"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-31T16:01:14.024Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82681","url":"https://www.cve.org/CVERecord?id=CVE-2026-82681","licence":"CVE Terms of Use","modified":"2026-11-19T08:39:00.833Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-82681","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82681","licence":"CC-BY-4.0","modified":"2026-11-25T06:31:04.676Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82681","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82681","licence":"Public domain","modified":"2026-11-19T09:18:05.887Z"}],"updatedAt":"2026-11-25T22:59:35.793Z","epss":{"score":0.0034,"percentile":0.29511,"date":"2026-12-01T12:00:22.000Z"}}