---
id: CVE-2026-105283
title: >-
  Generation of Error Message Containing Sensitive Information vulnerability in
  ash-project ash_typescript allows an unauthenticated attacker to read internal
  Elixir terms from an RPC error response by provoking an error the error
  builder …
summary: >-
  Generation of Error Message Containing Sensitive Information vulnerability in
  ash-project ash_typescript allows an unauthenticated attacker to read internal
  Elixir terms from an RPC error response by provoking an error the error
  builder …
severity: none
cwe:
  - CWE-209
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T12:17:12.447'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-105283'
references:
  - url: 'https://cna.erlef.org/cves/CVE-2026-105283.html'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/ash-project/ash_typescript/commit/4b3c65203ee78dc992d6d2e6559625c5460a01cd
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/ash-project/ash_typescript/commit/8e204ce34e24a158cf22a2dac4d53c44716c9e30
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/ash-project/ash_typescript/security/advisories/GHSA-7gxc-w225-f7f3
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://osv.dev/vulnerability/EEF-CVE-2026-105283'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
tags:
  - nvd
ingestedAt: '2026-10-12T14:50:34.106Z'
---

## Overview

Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_typescript allows an unauthenticated attacker to read internal Elixir terms from an RPC error response by provoking an error the error builder has no dedicated clause for.

AshTypescript.Rpc.ErrorBuilder.build_error_response/1 in lib/ash_typescript/rpc/error_builder.ex renders a pipeline error term that matches no specific clause with inspect/1 and places the result in details.error of the client-facing error. Ash exceptions take a separate path in AshTypescript.Rpc.Errors where unhandled cases are redacted behind an errorId, but these fallbacks have no redaction, so whatever the term carries reaches the HTTP or channel response. Two request paths hand it such terms: a struct-typed action argument with an invalid nested value, where cast_map_to_struct/2 in lib/ash_typescript/rpc/input_formatter.ex throws the raw Ash.Type cast error into the builder, and field selection on a generic action that returns a primitive, where format_field_type/1 inspects the full Ash.Info.Manifest.Type struct into vars.returnType. Resource module names in vars.resource are not treated as sensitive and are out of scope.

This issue affects ash_typescript: from 0.1.0 before 0.19.1.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
