{"id":"CVE-2026-82681","state":"PUBLISHED","title":"Query-parameter injection in AshAdmin row-action links via unencoded string primary keys","description":"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.","publishedAt":"2026-08-31T02:26:05.357Z","updatedAt":"2026-08-31T16:01:32.019Z","severity":{"score":2,"label":"Low","version":"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","source":"EEF"},"assigner":"EEF","products":["ash-project ash_admin"],"affected":[{"vendor":"ash-project","product":"ash_admin","packageName":"ash_admin","packageURL":"pkg:hex/ash_admin","defaultStatus":"unaffected","versions":[{"version":"0.3.0-rc.0","status":"affected","lessThan":"1.3.1","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash_admin:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAdmin.Components.Resource.Table'","'Elixir.AshAdmin.Components.Resource.DataTable'","'Elixir.AshAdmin.Components.Resource.Show'"],"programFiles":["lib/ash_admin/components/resource/table.ex","lib/ash_admin/components/resource/data_table.ex","lib/ash_admin/components/resource/show.ex"],"repo":"https://github.com/ash-project/ash_admin"},{"vendor":"ash-project","product":"ash_admin","packageName":"ash-project/ash_admin","packageURL":"pkg:github/ash-project/ash_admin","defaultStatus":"unaffected","versions":[{"version":"b214535f0cc012e36ca621e643bf8f7b133ba354","status":"affected","lessThan":"8e8ef91e8ba07498053887c6212f8b0f08178df6","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash_admin:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAdmin.Components.Resource.Table'","'Elixir.AshAdmin.Components.Resource.DataTable'","'Elixir.AshAdmin.Components.Resource.Show'"],"programFiles":["lib/ash_admin/components/resource/table.ex","lib/ash_admin/components/resource/data_table.ex","lib/ash_admin/components/resource/show.ex"],"repo":"https://github.com/ash-project/ash_admin"}],"references":["https://github.com/ash-project/ash_admin/security/advisories/GHSA-j89q-xjrh-c26p","https://cna.erlef.org/cves/CVE-2026-82681.html","https://osv.dev/vulnerability/EEF-CVE-2026-82681","https://github.com/ash-project/ash_admin/commit/8e8ef91e8ba07498053887c6212f8b0f08178df6"],"weaknesses":["CWE-116"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/82xxx/CVE-2026-82681.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-82681","state":"PUBLISHED","datePublished":"2026-08-31T02:26:05.357Z","dateUpdated":"2026-08-31T16:01:32.019Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-08-30T23:15:02.375Z"},"containers":{"cna":{"title":"Query-parameter injection in AshAdmin row-action links via unencoded string primary keys","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"ash-project","product":"ash_admin","packageName":"ash_admin","packageURL":"pkg:hex/ash_admin","defaultStatus":"unaffected","versions":[{"version":"0.3.0-rc.0","status":"affected","lessThan":"1.3.1","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash_admin:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAdmin.Components.Resource.Table'","'Elixir.AshAdmin.Components.Resource.DataTable'","'Elixir.AshAdmin.Components.Resource.Show'"],"programFiles":["lib/ash_admin/components/resource/table.ex","lib/ash_admin/components/resource/data_table.ex","lib/ash_admin/components/resource/show.ex"],"repo":"https://github.com/ash-project/ash_admin"},{"vendor":"ash-project","product":"ash_admin","packageName":"ash-project/ash_admin","packageURL":"pkg:github/ash-project/ash_admin","defaultStatus":"unaffected","versions":[{"version":"b214535f0cc012e36ca621e643bf8f7b133ba354","status":"affected","lessThan":"8e8ef91e8ba07498053887c6212f8b0f08178df6","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash_admin:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAdmin.Components.Resource.Table'","'Elixir.AshAdmin.Components.Resource.DataTable'","'Elixir.AshAdmin.Components.Resource.Show'"],"programFiles":["lib/ash_admin/components/resource/table.ex","lib/ash_admin/components/resource/data_table.ex","lib/ash_admin/components/resource/show.ex"],"repo":"https://github.com/ash-project/ash_admin"}],"references":[{"url":"https://github.com/ash-project/ash_admin/security/advisories/GHSA-j89q-xjrh-c26p","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82681.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82681","tags":["related"]},{"url":"https://github.com/ash-project/ash_admin/commit/8e8ef91e8ba07498053887c6212f8b0f08178df6","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2,"baseSeverity":"LOW","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-116","description":"CWE-116 Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-08-31T02:26:05.357Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash_admin:*:*:*:*:*:*:*:*","versionEndExcluding":"1.3.1","versionStartIncluding":"0.3.0-rc.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"}],"impacts":[{"capecId":"CAPEC-460","descriptions":[{"lang":"en","value":"CAPEC-460 HTTP Parameter Pollution (HPP)"}]}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/ash-project/ash_admin/security/advisories/GHSA-j89q-xjrh-c26p","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-31T16:01:14.024428Z","id":"CVE-2026-82681","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-31T16:01:32.019Z"}}]}}}