Skip to main content

ash_typescript EUVDEUVD-2026-68926

| CVE-2026-82730 HIGH
Incorrect Authorization (CWE-863)
2026-09-01 EEF
8.2
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send unauthenticated RPC request to embedded resource action
  2. Delivery
    Ash field policy denies attribute, wraps real value in %Ash.ForbiddenField{}
  3. Exploit
    normalize_primitive/1 finds no matching clause
  4. Execution
    Generic struct branch calls Map.from_struct/1
  5. Persist
    original_value serialized into JSON response
  6. Impact
    Caller reads policy-denied attribute value from response body

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target application must run ash_typescript version 0.11.0 through 0.17.x. The RPC action being invoked must return an embedded resource serialized as a map - routing through normalize_resource_struct/2 with an empty template, or through the public normalize_value_for_json/1 entry point. At least one attribute of that embedded resource must be governed by an Ash field policy that denies it for the caller, producing an %Ash.ForbiddenField{} in the result. No authentication is required (PR:N per CVSS 4.0); no user interaction is required. Deployments that do not configure Ash field policies on any embedded resource attributes are not exploitable. Actions returning only top-level (non-embedded) resource attributes through template-driven serialization paths are also at reduced risk, as those paths correctly strip the marker.

Impact

The CVSS 4.0 score of 8.2 with vector AV:N/AC:L/AT:P/PR:N/UI:N/VC:H reflects a network-reachable, unauthenticated vulnerability with high confidentiality impact. The AT:P (attack requirement: present) metric is the key moderating factor - the deploying application must have Ash field policies configured to deny attributes on embedded resources, which is precisely the configuration in which operators believe they have access control in place. Deployments not using field policies on embedded resources are unaffected; however, those that are affected are fully exposed with no mitigating factor remaining. The CVSS 4.0 vector aligns with the description: no authentication, no user interaction, no integrity or availability impact, and the scope is confined to the vulnerable system. No EPSS score was provided; exploitation probability must be inferred from the niche footprint of the library and the absence of public exploit code. No CISA KEV listing exists. Despite the relatively limited deployment footprint of ash_typescript, any team using field policies specifically to protect sensitive attributes - the feature's core security promise - faces complete confidentiality loss on those fields. The compensating factor is that the fix is a two-line pattern-match addition with no functional side effects, making patch application low-risk.

Exploit ScenarioDerived

An unauthenticated caller sends a normal RPC request to an ash_typescript endpoint that returns an embedded resource (e.g., a metadata struct) where an attribute - such as an SSN or access token - is protected by an Ash field policy. The result processor routes through normalize_primitive/1, which lacks a %Ash.ForbiddenField{} clause; the generic struct branch calls Map.from_struct/1, and the JSON response contains the real denied value under the original_value key, inside the marker that was supposed to signal its own suppression. No exploit tooling is publicly available, but the attack requires no special knowledge beyond sending a standard RPC request and inspecting the response.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 01, 2026

Field policy enforcement in ash_typescript RPC serialization is bypassed by a missing pattern-match clause, allowing unauthenticated remote callers to receive the real values of attributes that Ash field policies explicitly denied. Any action returning an embedded resource through the RPC layer exposes policy-protected fields - including sensitive PII such as SSNs, as demonstrated in the patch test suite - inside the serialized JSON response. Affects ash_typescript 0.11.0 through 0.17.x; no public exploit code exists at time of analysis, but the attack path is fully described in the vendor advisory and the two-line fix diff.

RemediationAI

Upgrade ash_typescript to version 0.18.0 or later. The fix adds two explicit normalize_primitive/1 clauses - one for %Ash.ForbiddenField{} and one for %Ash.NotLoaded{} - both returning nil, preventing the generic struct fallback from invoking Map.from_struct/1 on these sensitive types. The patch commit is at https://github.com/ash-project/ash_typescript/commit/aa7f9f1967b0bec806ac1156142267e805d70a55. If immediate upgrade is not feasible, a compensating control is to restructure affected actions to avoid returning embedded resources as maps in actions where field policies deny attributes - this removes the trigger path through normalize_resource_struct/2 with an empty template. Alternatively, restrict network access to the RPC endpoints at the load-balancer or firewall layer until the patch is applied. Note that the network-restriction workaround trades availability for security and should be temporary. The vendor advisory is at https://github.com/ash-project/ash_typescript/security/advisories/GHSA-6929-rjmh-4x62.

Affected VersionsENISA

ash_typescript 9cade7661a01b6e4d940386f482f48d148dbb1e6 <aa7f9f1967b0bec806ac1156142267e805d70a55
ash_typescript 0.11.0 <0.18.0

Affected Packages

euvd ash_typescript fix: 0.18.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ash_typescript is an Elixir library that bridges the Ash Framework's resource/policy model with TypeScript-compatible RPC endpoints. Ash field policies enforce attribute-level access control by replacing denied attribute values with %Ash.ForbiddenField{} structs, which wrap the real value in an original_value field and override the Inspect protocol to hide it from logging - but deliberately retain the value in memory so embedded resources remain writable. The AshTypescript.Rpc.ResultProcessor module is responsible for serializing Ash results to JSON. Its template-driven code paths correctly strip %Ash.ForbiddenField{} markers to nil, but the normalize_primitive/1 function (lib/ash_typescript/rpc/result_processor.ex) had no matching clause for this struct type. The fallback generic struct branch invoked Map.from_struct/1, converting all struct fields - including original_value - into a plain map that was then serialized into the response. The public entry point normalize_value_for_json/1 feeds the same vulnerable path. Root cause is CWE-863 (Incorrect Authorization): an authorization decision (field policy denial) was not enforced at the serialization boundary. Affected CPE: cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:* from version 0.11.0 before 0.18.0.

Know when Ash Typescript gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 8.2 HIGH
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
vuln.today AI 7.5 HIGH

Network-reachable RPC with no authentication and no user interaction; high confidentiality from leaking policy-denied field values; no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

Source: advisory GHSA-6929-rjmh-4x62, patch commit aa7f9f1 (introduced in 9cade76).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

ash_typescript versions 0.11.0 through 0.17.x contain a field policy bypass in the RPC layer that exposes sensitive customer data-including Social Security Numbers-to unauthenticated attackers. No public exploit identified at time of analysis, but the vulnerability details are documented in the vendor advisory, enabling attackers to craft exploitation once discovered. Organizations using affected versions face immediate data exposure risk and regulatory violations without urgent patching.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
niche Elixir library within the Ash Framework ecosystem only
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy