Query-parameter injection in AshAdmin row-action links via unencoded string primary keys
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. The 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. This issue affects ash_admin: from 0.3.0-rc.0 before 1.3.1.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-82681
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 02:24 UTC · Revision 1
Source evidence
Query-parameter injection in AshAdmin row-action links via unencoded string primary keys
core-osv · Original sourcePublished 31 Aug 2026, 02:26 UTC
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. The 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. This issue affects ash_admin: from 0.3.0-rc.0 before 1.3.1.
osv:CVE-2026-82681
Complete source record
{
"id": "082ddbd7b9577b62509b48a6ffd7f23a48e1d941e183a32501b155039a2c8dcf",
"url": "https://osv.dev/vulnerability/CVE-2026-82681",
"method": "structured",
"payload": {
"kind": "advisory",
"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. The 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. This issue affects ash_admin: from 0.3.0-rc.0 before 1.3.1.",
"evidence": "osv:CVE-2026-82681",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-82681",
"aliases": [
"CVE-2026-82681",
"EEF-CVE-2026-82681",
"GHSA-j89q-xjrh-c26p"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ash-project/ash_admin",
"type": "GIT",
"events": [
{
"introduced": "b214535f0cc012e36ca621e643bf8f7b133ba354"
},
{
"fixed": "8e8ef91e8ba07498053887c6212f8b0f08178df6"
},
{
"introduced": "6489cad6e1c2991cb3570474fae1cbe48309c40b"
},
{
"fixed": "91da87c1c23cd6199ba1b0a1c8849a4c605130cc"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "b214535f0cc012e36ca621e643bf8f7b133ba354"
},
{
"fixed": "8e8ef91e8ba07498053887c6212f8b0f08178df6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0.3.0-rc.0"
},
{
"fixed": "1.3.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "8e8ef91e8ba07498053887c6212f8b0f08178df6"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"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"
}
}
],
"modified": "2026-10-28T02:30:46.298759808Z",
"provider": "osv",
"references": [
"https://cna.erlef.org/cves/CVE-2026-82681.html",
"https://github.com",
"https://osv.dev/vulnerability/EEF-CVE-2026-82681",
"https://repo.hex.pm",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82681.json",
"https://github.com/ash-project/ash_admin/security/advisories/GHSA-j89q-xjrh-c26p",
"https://nvd.nist.gov/vuln/detail/CVE-2026-82681",
"https://github.com/ash-project/ash_admin/commit/8e8ef91e8ba07498053887c6212f8b0f08178df6",
"https://github.com/ash-project/ash_admin"
],
"provider_metadata": {
"cwe_ids": [
"CWE-116"
],
"cna_assigner": "EEF",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82681.json"
}
},
"related_cves": [
{
"value": "CVE-2026-82681",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 514255,
"published_at": "2026-08-31T02:26:05.357+00:00"
}