CVE-2026-82733: CWE-209 Generation of Error Message Containing Sensitive Information in ash-project ash_typescript
Description
Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash_typescript allows an unauthenticated attacker to read internal application data from an HTTP 500 response body. When a typed-controller route handler returns anything other than a %Plug.Conn{}, dispatch/3 in lib/ash_typescript/typed_controller/request_handler.ex passes the value to unexpected_return/2, which interpolates inspect(value, limit: 50) directly into the response message. The limit option bounds elements per collection rather than the term as a whole, so a handler falling through with a term such as {:error, %User{}} or a changeset serialises its full field set, including hashed passwords, tokens, and tenant identifiers, into the JSON error returned to the caller. This contradicts the module's own posture elsewhere: the rescue clause gates Exception.message/1 behind AshTypescript.typed_controller_show_raised_errors?/0 and otherwise returns a generic message, while this path is ungated and always echoes. This issue affects ash_typescript: from 0.15.0 before 0.18.0.
CVSS v4.0
Score 6.3medium
Affected software
ash-project
ash_typescript
ash-project
ash_typescript
cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because the dispatch/3 function in lib/ash_typescript/typed_controller/request_handler.ex passes unexpected return values to unexpected_return/2, which interpolates inspect(value, limit: 50) directly into the HTTP 500 response message. The inspect/2 function's limit option restricts elements per collection but does not limit the overall size, allowing full serialization of sensitive data structures like {:error, %User{}} or changesets. This behavior contradicts other error handling paths that gate detailed error messages behind a configuration flag, resulting in unintended exposure of sensitive information in error responses. The affected versions are ash_typescript 0.15.0 through versions before 0.18.0.
Potential Impact
An unauthenticated attacker can receive HTTP 500 responses containing detailed internal data structures, including sensitive information such as hashed passwords, tokens, and tenant identifiers. This information disclosure can aid attackers in further attacks or data compromise. The vulnerability has a CVSS 4.0 base score of 6.3 (medium severity) with network attack vector, low complexity, no privileges required, no user interaction, and partial confidentiality impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is indicated in the provided data. Until a patch is available, users should consider implementing custom error handling to avoid exposing sensitive data in error messages or disable detailed error output in production environments.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-08-31T00:59:10.001Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a963a7bacd9273b491bc8e9
Added to database: 09/01/2026, 02:37:47 UTC
Last enriched: 09/07/2026, 14:46:23 UTC
Last updated: 10/14/2026, 18:48:24 UTC
Views: 99
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.