{"id":"CVE-2026-82733","aliases":["CVE-2026-82733","EEF-CVE-2026-82733","GHSA-ghhw-qh7p-55xr"],"related":[],"kind":"vulnerability","state":"published","title":"Route handler return value echoed into AshTypescript error response","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.\n\nWhen 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.\n\nThis 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.\n\nThis issue affects ash_typescript: from 0.15.0 before 0.18.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nWhen 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.\n\nThis 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.\n\nThis issue affects ash_typescript: from 0.15.0 before 0.18.0.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nGeneration 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.\n\nWhen 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.\n\nThis 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.\n\nThis issue affects ash_typescript: from 0.15.0 before 0.18.0.\n\n## Configurations\n\nThe application exposes an AshTypescript typed controller over HTTP with a route handler that can return a non-`Plug.Conn` term carrying sensitive data.","format":"markdown","source":"eef"}],"published":"2026-09-01T02:09:22.784Z","modified":"2026-11-25T06:30:14.556Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":6.3,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-209"],"affected":[{"ranges":[{"type":"semver","introduced":"0.15.0","fixed":"0.18.0","status":"affected"}],"vendor":"ash-project","product":"ash_typescript","package":"ash_typescript","cpe":"cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_typescript","source":"cvelist"},{"ranges":[{"type":"git","introduced":"546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e","fixed":"dec80e29543f96e43eeece8501376562f17ac638","status":"affected"}],"vendor":"ash-project","product":"ash_typescript","package":"ash-project/ash_typescript","cpe":"cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_typescript","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.15.0","status":"affected","fixed":"0.18.0"}],"ecosystem":"Hex","package":"ash_typescript","purl":"pkg:hex/ash_typescript","source":"eef"},{"ranges":[{"type":"git","introduced":"546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e","status":"affected","fixed":"dec80e29543f96e43eeece8501376562f17ac638"}],"repo":"https://github.com/ash-project/ash_typescript","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash_typescript/security/advisories/GHSA-ghhw-qh7p-55xr","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82733.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82733","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ash-project/ash_typescript/commit/546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash_typescript/commit/dec80e29543f96e43eeece8501376562f17ac638","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash_typescript","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich","Jonatan Männchen / EEF","Torkild Gundersen Kjevik / Ash Project"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-09-01T15:11:48.163Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82733","url":"https://www.cve.org/CVERecord?id=CVE-2026-82733","licence":"CVE Terms of Use","modified":"2026-11-19T08:37:49.467Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-82733","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82733","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:14.556Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82733","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82733","licence":"Public domain","modified":"2026-11-19T09:18:08.207Z"}],"updatedAt":"2026-11-25T22:59:35.901Z","epss":{"score":0.00315,"percentile":0.26339,"date":"2026-12-01T12:00:22.000Z"}}