Skip to main content
EPSS 0.5%top 56%

CVE-2026-82733: CWE-209 Generation of Error Message Containing Sensitive Information in ash-project ash_typescript

0
Medium
VulnerabilityCVE-2026-82733cvecve-2026-82733cwe-209
Published: 09/01/2026 (09/01/2026, 02:09:22 UTC)
Source: CVE Database V5
Vendor/Project: ash-project
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

ash-project

ash_typescript

Affected versions
>=0.15.0 <0.18.0

ash-project

ash_typescript

ash_typescript
pkg:hex/ash_typescript
Affected versions
>=0.15.0 <0.18.0
GitHub Actionsmore threats →cve
ash-project/ash_typescript
pkg:github/ash-project/ash_typescript
CPE configurations
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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 14:46:23 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses