{"id":"CVE-2026-82730","state":"PUBLISHED","title":"Authorization-redacted field values disclosed through AshTypescript result normalization","description":"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.","publishedAt":"2026-09-01T02:09:01.851Z","updatedAt":"2026-09-01T14:54:16.008Z","severity":{"score":8.2,"label":"High","version":"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","source":"EEF"},"assigner":"EEF","products":["ash-project ash_typescript"],"affected":[{"vendor":"ash-project","product":"ash_typescript","packageName":"ash_typescript","packageURL":"pkg:hex/ash_typescript","defaultStatus":"unaffected","versions":[{"version":"0.11.0","status":"affected","lessThan":"0.18.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshTypescript.Rpc.ResultProcessor'"],"programFiles":["lib/ash_typescript/rpc/result_processor.ex"],"programRoutines":[{"name":"'Elixir.AshTypescript.Rpc.ResultProcessor':normalize_primitive/1"},{"name":"'Elixir.AshTypescript.Rpc.ResultProcessor':normalize_value_for_json/1"},{"name":"'Elixir.AshTypescript.Rpc.ResultProcessor':normalize_resource_struct/2"}],"repo":"https://github.com/ash-project/ash_typescript"},{"vendor":"ash-project","product":"ash_typescript","packageName":"ash-project/ash_typescript","packageURL":"pkg:github/ash-project/ash_typescript","defaultStatus":"unaffected","versions":[{"version":"9cade7661a01b6e4d940386f482f48d148dbb1e6","status":"affected","lessThan":"aa7f9f1967b0bec806ac1156142267e805d70a55","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshTypescript.Rpc.ResultProcessor'"],"programFiles":["lib/ash_typescript/rpc/result_processor.ex"],"programRoutines":[{"name":"'Elixir.AshTypescript.Rpc.ResultProcessor':normalize_primitive/1"},{"name":"'Elixir.AshTypescript.Rpc.ResultProcessor':normalize_value_for_json/1"},{"name":"'Elixir.AshTypescript.Rpc.ResultProcessor':normalize_resource_struct/2"}],"repo":"https://github.com/ash-project/ash_typescript"}],"references":["https://github.com/ash-project/ash_typescript/security/advisories/GHSA-6929-rjmh-4x62","https://cna.erlef.org/cves/CVE-2026-82730.html","https://osv.dev/vulnerability/EEF-CVE-2026-82730","https://github.com/ash-project/ash_typescript/commit/aa7f9f1967b0bec806ac1156142267e805d70a55"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/82xxx/CVE-2026-82730.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-82730","state":"PUBLISHED","datePublished":"2026-09-01T02:09:01.851Z","dateUpdated":"2026-09-01T14:54:16.008Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-08-31T00:59:08.960Z"},"containers":{"cna":{"title":"Authorization-redacted field values disclosed through AshTypescript result normalization","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"ash-project","product":"ash_typescript","packageName":"ash_typescript","packageURL":"pkg:hex/ash_typescript","defaultStatus":"unaffected","versions":[{"version":"0.11.0","status":"affected","lessThan":"0.18.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshTypescript.Rpc.ResultProcessor'"],"programFiles":["lib/ash_typescript/rpc/result_processor.ex"],"programRoutines":[{"name":"'Elixir.AshTypescript.Rpc.ResultProcessor':normalize_primitive/1"},{"name":"'Elixir.AshTypescript.Rpc.ResultProcessor':normalize_value_for_json/1"},{"name":"'Elixir.AshTypescript.Rpc.ResultProcessor':normalize_resource_struct/2"}],"repo":"https://github.com/ash-project/ash_typescript"},{"vendor":"ash-project","product":"ash_typescript","packageName":"ash-project/ash_typescript","packageURL":"pkg:github/ash-project/ash_typescript","defaultStatus":"unaffected","versions":[{"version":"9cade7661a01b6e4d940386f482f48d148dbb1e6","status":"affected","lessThan":"aa7f9f1967b0bec806ac1156142267e805d70a55","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshTypescript.Rpc.ResultProcessor'"],"programFiles":["lib/ash_typescript/rpc/result_processor.ex"],"programRoutines":[{"name":"'Elixir.AshTypescript.Rpc.ResultProcessor':normalize_primitive/1"},{"name":"'Elixir.AshTypescript.Rpc.ResultProcessor':normalize_value_for_json/1"},{"name":"'Elixir.AshTypescript.Rpc.ResultProcessor':normalize_resource_struct/2"}],"repo":"https://github.com/ash-project/ash_typescript"}],"references":[{"url":"https://github.com/ash-project/ash_typescript/security/advisories/GHSA-6929-rjmh-4x62","tags":["related","vendor-advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82730.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82730","tags":["related"]},{"url":"https://github.com/ash-project/ash_typescript/commit/aa7f9f1967b0bec806ac1156142267e805d70a55","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":8.2,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","description":"CWE-863 Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-09-01T02:09:01.851Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The 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.</p>"},{"base64":false,"type":"text/markdown","value":"The 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."}],"value":"The 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."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*","versionEndExcluding":"0.18.0","versionStartIncluding":"0.11.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":"Torkild Gundersen Kjevik / Ash Project"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"}],"impacts":[{"capecId":"CAPEC-122","descriptions":[{"lang":"en","value":"CAPEC-122 Privilege Abuse"}]}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/ash-project/ash_typescript/security/advisories/GHSA-6929-rjmh-4x62","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-01T14:53:56.550522Z","id":"CVE-2026-82730","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-09-01T14:54:16.008Z"}}]}}}