{"id":"CVE-2026-82730","aliases":["CVE-2026-82730","EEF-CVE-2026-82730","GHSA-6929-rjmh-4x62"],"related":[],"kind":"vulnerability","state":"published","title":"Authorization-redacted field values disclosed through AshTypescript result normalization","summary":"Incorrect Authorization vulnerability in ash-project ash_typescript allows an unauthorized RPC caller to read attribute values that Ash field policies denied.\n\nWhen a field policy denies an attribute, Ash substitutes %Ash.ForbiddenField{}, which retains the real value in original_value because embedded resources must remain writable, and hides it from Inspect rather than removing it. AshTypescript.Rpc.ResultProcessor strips these markers to nil on its template-driven paths, but normalize_primitive/1 in lib/ash_typescript/rpc/result_processor.ex had no such clause, so a marker fell through to the generic struct branch which calls Map.from_struct/1 and serializes every key, original_value included. The denied value is returned to the caller inside the marker that represents its own denial.\n\nThe simplest trigger is an action returning an embedded resource as a map, which routes through normalize_resource_struct/2 with an empty template. normalize_value_for_json/1 is a public, unguarded entry point to the same path.\n\nThis issue affects ash_typescript: from 0.11.0 before 0.18.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Incorrect Authorization vulnerability in ash-project ash_typescript allows an unauthorized RPC caller to read attribute values that Ash field policies denied.\n\nWhen a field policy denies an attribute, Ash substitutes %Ash.ForbiddenField{}, which retains the real value in original_value because embedded resources must remain writable, and hides it from Inspect rather than removing it. AshTypescript.Rpc.ResultProcessor strips these markers to nil on its template-driven paths, but normalize_primitive/1 in lib/ash_typescript/rpc/result_processor.ex had no such clause, so a marker fell through to the generic struct branch which calls Map.from_struct/1 and serializes every key, original_value included. The denied value is returned to the caller inside the marker that represents its own denial.\n\nThe simplest trigger is an action returning an embedded resource as a map, which routes through normalize_resource_struct/2 with an empty template. normalize_value_for_json/1 is a public, unguarded entry point to the same path.\n\nThis issue affects ash_typescript: from 0.11.0 before 0.18.0.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nIncorrect Authorization vulnerability in ash-project ash_typescript allows an unauthorized RPC caller to read attribute values that Ash field policies denied.\n\nWhen a field policy denies an attribute, Ash substitutes `%Ash.ForbiddenField{}`, which retains the real value in `original_value` because embedded resources must remain writable, and hides it from `Inspect` rather than removing it. `AshTypescript.Rpc.ResultProcessor` strips these markers to `nil` on its template-driven paths, but `normalize_primitive/1` in `lib/ash_typescript/rpc/result_processor.ex` had no such clause, so a marker fell through to the generic struct branch which calls `Map.from_struct/1` and serializes every key, `original_value` included. The denied value is returned to the caller inside the marker that represents its own denial.\n\nThe simplest trigger is an action returning an embedded resource as a map, which routes through `normalize_resource_struct/2` with an empty template. `normalize_value_for_json/1` is a public, unguarded entry point to the same path.\n\nThis issue affects ash_typescript: from 0.11.0 before 0.18.0.\n\n## Configurations\n\nThe application exposes an AshTypescript RPC endpoint over HTTP and relies on Ash field policies to hide attributes on embedded resources that an action returns as a map.","format":"markdown","source":"eef"}],"published":"2026-09-01T02:09:01.851Z","modified":"2026-11-25T06:30:13.628Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"0.11.0","fixed":"0.18.0","status":"affected"}],"vendor":"ash-project","product":"ash_typescript","package":"ash_typescript","cpe":"cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_typescript","source":"cvelist"},{"ranges":[{"type":"git","introduced":"9cade7661a01b6e4d940386f482f48d148dbb1e6","fixed":"aa7f9f1967b0bec806ac1156142267e805d70a55","status":"affected"}],"vendor":"ash-project","product":"ash_typescript","package":"ash-project/ash_typescript","cpe":"cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_typescript","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.11.0","status":"affected","fixed":"0.18.0"}],"ecosystem":"Hex","package":"ash_typescript","purl":"pkg:hex/ash_typescript","source":"eef"},{"ranges":[{"type":"git","introduced":"9cade7661a01b6e4d940386f482f48d148dbb1e6","status":"affected","fixed":"aa7f9f1967b0bec806ac1156142267e805d70a55"}],"repo":"https://github.com/ash-project/ash_typescript","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash_typescript/security/advisories/GHSA-6929-rjmh-4x62","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82730.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82730","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ash-project/ash_typescript/commit/9cade7661a01b6e4d940386f482f48d148dbb1e6","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash_typescript/commit/aa7f9f1967b0bec806ac1156142267e805d70a55","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash_typescript","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich","Jonatan Männchen / EEF","Torkild Gundersen Kjevik / Ash Project"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-09-01T14:53:56.550Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82730","url":"https://www.cve.org/CVERecord?id=CVE-2026-82730","licence":"CVE Terms of Use","modified":"2026-11-19T08:38:00.561Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-82730","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82730","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:13.628Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82730","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82730","licence":"Public domain","modified":"2026-11-19T09:18:07.630Z"}],"updatedAt":"2026-11-25T22:59:35.900Z","epss":{"score":0.00362,"percentile":0.32107,"date":"2026-12-01T12:00:22.000Z"}}