{"affected":[{"package":{"ecosystem":"Hex","name":"ash_typescript","purl":"pkg:hex/ash_typescript"},"ranges":[{"events":[{"introduced":"0.8.0"},{"fixed":"0.18.0"}],"type":"SEMVER"}],"versions":["0.8.0","0.8.1","0.8.2","0.8.3","0.8.4","0.9.0","0.9.1","0.10.0","0.10.1","0.10.2","0.11.0","0.11.1","0.11.2","0.11.3","0.11.4","0.11.5","0.11.6","0.12.0","0.12.1","0.13.0","0.13.1","0.13.2","0.14.0","0.14.1","0.14.2","0.14.3","0.14.4","0.15.0","0.15.1","0.15.2","0.15.3","0.16.0","0.17.0","0.17.1","0.17.2","0.17.3"]},{"ranges":[{"events":[{"introduced":"cb01cc8749e5a2a17fb45aedbe75df30a9f1126e"},{"fixed":"59d8e985a98cf2e01794dbe5b919b897a95311f4"}],"repo":"https://github.com/ash-project/ash_typescript","type":"GIT"}]}],"aliases":["GHSA-mjr7-r3rf-x963","CVE-2026-77950"],"credits":[{"name":"Peter Ullrich","type":"FINDER"},{"name":"Peter Ullrich","type":"REPORTER"},{"name":"Torkild Gundersen Kjevik / Ash Project","type":"REMEDIATION_DEVELOPER"},{"name":"Jonatan Männchen / EEF","type":"COORDINATOR"}],"database_specific":{"capec_ids":["CAPEC-54"],"cpe_ids":["cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-209"]},"details":"## Summary\n\nGeneration of Error Message Containing Sensitive Information vulnerability in ash-project ash\\_typescript allows an unauthenticated attacker to receive unredacted internal error data by provoking an error shape the configured error handler does not match.\n\napply\\_error\\_handler/3 in lib/ash\\_typescript/rpc/errors.ex is the only hook an application has for redacting or suppressing errors before they reach the client, with a nil return dropping the error entirely. Its rescue clause logs a warning and then returns the original, pre-handler error map. Error handlers are conventionally written as pattern-matching functions over expected error shapes, so an unmatched shape raises FunctionClauseError and the raw transformed error, including any secrets carried in vars, is emitted instead. An intent to suppress an error becomes an intent to publish it. The rescue catches exceptions only, so a handler that throws or exits still propagates.\n\nThis issue affects ash\\_typescript: from 0.8.0 before 0.18.0.\n\n## Configuration\n\nThe application exposes an AshTypescript RPC endpoint over HTTP and configures a custom error\\_handler in its typescript\\_rpc domain section for redaction or suppression.","id":"EEF-CVE-2026-77950","modified":"2026-09-01T02:08:55.609628Z","published":"2026-09-01T02:08:54.754Z","references":[{"type":"ADVISORY","url":"https://github.com/ash-project/ash_typescript/security/advisories/GHSA-mjr7-r3rf-x963"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-77950.html"},{"type":"FIX","url":"https://github.com/ash-project/ash_typescript/commit/59d8e985a98cf2e01794dbe5b919b897a95311f4"},{"type":"PACKAGE","url":"https://hex.pm/packages/ash_typescript"}],"related":[],"schema_version":"1.7.3","severity":[{"score":"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","type":"CVSS_V4"}],"summary":"RPC error handler fails open in AshTypescript, disclosing unredacted errors","upstream":[]}