{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-82731","published":"2026-09-01T03:16:52.993000Z","last_modified":"2026-11-19T09:18:07.820000Z","status":"Deferred","cvss":{"version":"4.0","score":2.3,"severity":"LOW","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/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","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","primary":false},"auth":false,"cwes":["CWE-601"],"cpes":[],"cpes_truncated":false,"vendors":["ash-project"],"products":["ash-project/ash_typescript"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"EEF-CVE-2026-82731","ecosystem":"Hex","name":"ash_typescript","purl":"pkg:hex/ash_typescript","ranges":[{"introduced":"0.15.0","fixed":"0.18.0"}],"versions":["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"],"versions_truncated":false}],"severity":"low","priority_score":29,"links":{"html_es":"/es/cve/CVE-2026-82731/","html_en":"/en/cve/CVE-2026-82731/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-82731","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-82731"},"untrusted":{"vendor_name":"ash-project","product_name":"ash_typescript","desc_en":"URL Redirection to Untrusted Site ('Open Redirect') vulnerability in ash-project ash_typescript allows an attacker who controls a path-parameter value to redirect a generated client's request, and the credentials attached to it, to an unintended route or an external origin.\n\nThe URL builders in lib/ash_typescript/typed_controller/codegen/route_renderer.ex replace each :param placeholder with a bare template interpolation and never call encodeURIComponent, so the value reaches executeTypedControllerRequest raw. A value containing ../ is normalised away by the fetch URL resolver and reaches a different route, while ? or # truncates the path and can smuggle or override query parameters. For a route whose path begins with a parameter, a value such as /evil.example.com/x yields the protocol-relative URL //evil.example.com/x, sending the request and the credentials from TypedControllerConfig to an attacker-controlled host. Nothing constrains the value at runtime: get_path_param_type/2 emits only a TypeScript type, which is erased.\n\nThe query-string path is unaffected, since URLSearchParams.set encodes its own values.\n\nThis issue affects ash_typescript: from 0.15.0 before 0.18.0.","affected":[{"untrusted_vendor":"ash-project","untrusted_product":"ash_typescript","versions":[]}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-82731.html","tags":[]},{"url":"https://github.com/ash-project/ash_typescript/commit/5165f752f5f92b755d946f2d1ce750ff69083ffc","tags":[]},{"url":"https://github.com/ash-project/ash_typescript/commit/6669e22ece34b4534e706a46d1842f01b68ee23a","tags":[]},{"url":"https://github.com/ash-project/ash_typescript/security/advisories/GHSA-6g23-p936-fm2f","tags":[]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82731","tags":[]}]}}