Authorization-redacted field values disclosed through AshTypescript result normalization
Incorrect Authorization vulnerability in ash-project ash_typescript allows an unauthorized RPC caller to read attribute values that Ash field policies denied. When 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. The 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. This issue affects ash_typescript: from 0.11.0 before 0.18.0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-82730
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:28 UTC · Revision 1
Source evidence
Authorization-redacted field values disclosed through AshTypescript result normalization
core-osv · Original sourcePublished 1 Sept 2026, 02:09 UTC
Incorrect Authorization vulnerability in ash-project ash_typescript allows an unauthorized RPC caller to read attribute values that Ash field policies denied. When 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. The 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. This issue affects ash_typescript: from 0.11.0 before 0.18.0.
osv:CVE-2026-82730
Complete source record
{
"id": "50865f49f6071faf51993a2b6efe4d6edfeee1fa7241fc36b72dc992f24fcf15",
"url": "https://osv.dev/vulnerability/CVE-2026-82730",
"method": "structured",
"payload": {
"kind": "advisory",
"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. When 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. The 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. This issue affects ash_typescript: from 0.11.0 before 0.18.0.",
"evidence": "osv:CVE-2026-82730",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-82730",
"aliases": [
"CVE-2026-82730",
"EEF-CVE-2026-82730",
"GHSA-6929-rjmh-4x62"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ash-project/ash_typescript",
"type": "GIT",
"events": [
{
"introduced": "9cade7661a01b6e4d940386f482f48d148dbb1e6"
},
{
"fixed": "aa7f9f1967b0bec806ac1156142267e805d70a55"
},
{
"introduced": "a42177bfc4acd27bb2f25372da9b3de467d6bcae"
},
{
"fixed": "808e4b17ee821a8dac98bda5bf01da0fe1b69d41"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "9cade7661a01b6e4d940386f482f48d148dbb1e6"
},
{
"fixed": "aa7f9f1967b0bec806ac1156142267e805d70a55"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0.11.0"
},
{
"fixed": "0.18.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "aa7f9f1967b0bec806ac1156142267e805d70a55"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.15.0",
"v0.15.3",
"v0.15.2",
"v0.15.1",
"v0.14.4",
"v0.14.3",
"v0.14.2",
"v0.14.1",
"v0.14.0",
"v0.13.2",
"v0.13.1",
"v0.13.0",
"v0.12.1",
"v0.12.0",
"v0.11.6",
"v0.11.5",
"v0.11.4",
"v0.11.3",
"v0.11.2",
"v0.11.1",
"v0.11.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82730.json"
}
}
],
"modified": "2026-10-28T02:30:38.084271761Z",
"provider": "osv",
"references": [
"https://cna.erlef.org/cves/CVE-2026-82730.html",
"https://github.com",
"https://osv.dev/vulnerability/EEF-CVE-2026-82730",
"https://repo.hex.pm",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82730.json",
"https://github.com/ash-project/ash_typescript/security/advisories/GHSA-6929-rjmh-4x62",
"https://nvd.nist.gov/vuln/detail/CVE-2026-82730",
"https://github.com/ash-project/ash_typescript/commit/aa7f9f1967b0bec806ac1156142267e805d70a55",
"https://github.com/ash-project/ash_typescript"
],
"provider_metadata": {
"cwe_ids": [
"CWE-863"
],
"cna_assigner": "EEF",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82730.json"
}
},
"related_cves": [
{
"value": "CVE-2026-82730",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505279,
"published_at": "2026-09-01T02:09:01.851+00:00"
}