Vulnerability EEF-CVE-2026-82733

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
2 months ago
September 01, 2026 at 02:09 AM UTC
Route handler return value echoed into AshTypescript error response
0.15.0 - 0.17.3
0.15.0 - 0.17.3

Summary

Route handler return value echoed into AshTypescript error response

Details

Summary

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.

Configurations

The application exposes an AshTypescript typed controller over HTTP with a route handler that can return a non-Plug.Conn term carrying sensitive data.

Impacted packages

Timeline

Published
2 months ago
September 01, 2026 at 02:09 AM UTC
Fixed (0.18.0)
2 months ago
August 31, 2026 at 09:35 PM UTC
Last Modified
2 days ago
November 20, 2026 at 06:01 AM UTC