{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-82733","id":"CVE-2026-82733","title":"Route handler return value echoed into AshTypescript error response","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.\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, w","descriptionLong":"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.","published":"2026-09-01T02:09:22.784Z","updated":"2026-11-19T10:00:29.034058262Z","reserved":"2026-08-31T00:59:10.001Z","status":"Deferred","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":6.3,"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","rating":"medium","source":"EEF"},"metrics":[{"version":"4.0","score":6.3,"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","rating":"medium","source":"EEF"},{"version":"4.0","score":6.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"}],"rating":"medium","products":["ash-project ash_typescript"],"affectedProducts":[{"vendor":"ash-project","product":"ash_typescript","defaultStatus":"unaffected","versions":[{"lessThan":"0.18.0","status":"affected","version":"0.15.0","versionType":"semver"}],"platforms":[]},{"vendor":"ash-project","product":"ash_typescript","defaultStatus":"unaffected","versions":[{"lessThan":"dec80e29543f96e43eeece8501376562f17ac638","status":"affected","version":"546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e","versionType":"git"}],"platforms":[]}],"packages":[],"cwes":["CWE-209"],"aliases":["EEF-CVE-2026-82733","GHSA-ghhw-qh7p-55xr"],"references":[{"url":"https://github.com/ash-project/ash_typescript/security/advisories/GHSA-ghhw-qh7p-55xr","tags":["related","vendor-advisory","exploit","advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82733.html","tags":["related","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82733","tags":["related","web"]},{"url":"https://github.com/ash-project/ash_typescript/commit/546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e","tags":["related","fix"]},{"url":"https://github.com/ash-project/ash_typescript/commit/dec80e29543f96e43eeece8501376562f17ac638","tags":["patch","fix"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82733.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82733","tags":["advisory"]},{"url":"https://github.com/ash-project/ash_typescript","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00547,"epssPercentile":0.4662,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-82733","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82733","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-82733","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-82733","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}