{"id":"CVE-2026-81853","aliases":["CVE-2026-81853","EEF-CVE-2026-81853","GHSA-jxr8-hpv2-qp38"],"related":[],"kind":"vulnerability","state":"published","title":"AshAdmin composite primary key decoding accepts arbitrary fields, enabling a secret-attribute oracle","summary":"Authorization Bypass Through User-Controlled Key vulnerability in ash-project ash_admin turns a record-lookup URL into an equality oracle over sensitive attributes.\n\nAshAdmin.Helpers.decode_primary_key/2 decodes the composite-primary-key form (Base64 plus ETF) and returns the decoded map verbatim as the lookup filter, without checking that its keys are the resource's primary-key fields. The deserialization guards bound size, block new atoms and funs, and reject nested expressions, but none restricts which fields come back, and :safe still allows any already-interned attribute name. An attacker can therefore encode %{api_token: \"guess\"} and have it spliced into the lookup filter, brute-forcing a sensitive attribute value (API token, reset token) one equality guess at a time; Map.to_list/1 also accepts structs, yielding a bogus __struct__ key. The fix rejects any decoded key that is not a real primary-key field.\n\nThis issue affects ash_admin: from 0.1.0 before 1.3.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Authorization Bypass Through User-Controlled Key vulnerability in ash-project ash_admin turns a record-lookup URL into an equality oracle over sensitive attributes.\n\nAshAdmin.Helpers.decode_primary_key/2 decodes the composite-primary-key form (Base64 plus ETF) and returns the decoded map verbatim as the lookup filter, without checking that its keys are the resource's primary-key fields. The deserialization guards bound size, block new atoms and funs, and reject nested expressions, but none restricts which fields come back, and :safe still allows any already-interned attribute name. An attacker can therefore encode %{api_token: \"guess\"} and have it spliced into the lookup filter, brute-forcing a sensitive attribute value (API token, reset token) one equality guess at a time; Map.to_list/1 also accepts structs, yielding a bogus __struct__ key. The fix rejects any decoded key that is not a real primary-key field.\n\nThis issue affects ash_admin: from 0.1.0 before 1.3.1.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nAuthorization Bypass Through User-Controlled Key vulnerability in ash-project ash_admin turns a record-lookup URL into an equality oracle over sensitive attributes.\n\n`AshAdmin.Helpers.decode_primary_key/2` decodes the composite-primary-key form (Base64 plus ETF) and returns the decoded map verbatim as the lookup filter, without checking that its keys are the resource's primary-key fields. The deserialization guards bound size, block new atoms and funs, and reject nested expressions, but none restricts which fields come back, and `:safe` still allows any already-interned attribute name. An attacker can therefore encode `%{api_token: \"guess\"}` and have it spliced into the lookup filter, brute-forcing a sensitive attribute value (API token, reset token) one equality guess at a time; `Map.to_list/1` also accepts structs, yielding a bogus `__struct__` key. The fix rejects any decoded key that is not a real primary-key field.\n\nThis issue affects ash_admin: from 0.1.0 before 1.3.1.\n\n## Configurations\n\nThe resource has a composite primary key, and the deployment relies on AshAdmin's authorization (a custom actor plug and policies) so that reading otherwise-restricted attribute values crosses a boundary.","format":"markdown","source":"eef"}],"published":"2026-08-31T02:31:29.547Z","modified":"2026-11-25T06:31:03.934Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":2.3,"rating":"LOW"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":2.3,"rating":"LOW"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"cwes":["CWE-639"],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.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":"98b03baa8422b94dd13e305bf08b8ee3f7232c7b","fixed":"3c3e905d47f1155dcc1ca3fb347348b05a66065a","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.1.0","status":"affected","fixed":"1.3.1"}],"ecosystem":"Hex","package":"ash_admin","purl":"pkg:hex/ash_admin","source":"eef"},{"ranges":[{"type":"git","introduced":"98b03baa8422b94dd13e305bf08b8ee3f7232c7b","status":"affected","fixed":"3c3e905d47f1155dcc1ca3fb347348b05a66065a"}],"repo":"https://github.com/ash-project/ash_admin","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash_admin/security/advisories/GHSA-jxr8-hpv2-qp38","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-81853.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-81853","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ash-project/ash_admin/commit/98b03baa8422b94dd13e305bf08b8ee3f7232c7b","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash_admin/commit/3c3e905d47f1155dcc1ca3fb347348b05a66065a","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-31T15:57:41.689Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-81853","url":"https://www.cve.org/CVERecord?id=CVE-2026-81853","licence":"CVE Terms of Use","modified":"2026-11-19T08:38:48.817Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-81853","url":"https://osv.dev/vulnerability/EEF-CVE-2026-81853","licence":"CC-BY-4.0","modified":"2026-11-25T06:31:03.934Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-81853","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81853","licence":"Public domain","modified":"2026-11-19T09:18:04.110Z"}],"updatedAt":"2026-11-25T22:59:35.791Z","epss":{"score":0.00328,"percentile":0.27919,"date":"2026-12-01T12:00:22.000Z"}}