CVE-2026-82731Ash Project Ash Typescript open redirect
CVSS score
2.3
Low
CVSS 4.0 from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Exploit probability (EPSS)
0.36%
0.36% chance of exploitation in the next 30 days, higher than 31.0% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
The 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.
The query-string path is unaffected, since URLSearchParams.set encodes its own values.
This issue affects ash_typescript: from 0.15.0 before 0.18.0.
Source: NVD · CNA: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
How to fix it, step by step
Check whether you're affected
Find every system running ash-project Ash Typescript and compare its version with the affected versions.
Update to a fixed version
- Update Ash Typescript to 0.18.0 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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
Affected products
| Affected products | Versions |
|---|---|
| ash-project Ash Typescript | ≥ 0.15.0, < 0.18.0 · ≥ 6669e22ece34b4534e706a46d1842f01b68ee23a, < 5165f752f5f92b755d946f2d1ce750ff69083ffc |
Weakness
- CWE-601 open redirect
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-82731 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-82731?
CVE-2026-82731 has a CVSS 4.0 base score of 2.3 (low).
Which versions are affected?
Ash Project Ash Typescript (≥ 0.15.0, < 0.18.0; ≥ 6669e22ece34b4534e706a46d1842f01b68ee23a, < 5165f752f5f92b755d946f2d1ce750ff69083ffc)
Is there a patch for CVE-2026-82731?
The official record links to vendor advisories or patches; see “What to do” above.
References
- cna.erlef.org/cves/CVE-2026-82731.html
- github.com/ash-project/ash_typescript/commit/5165f752f5f92b755d946f2d1ce750ff69083ffc
- github.com/ash-project/ash_typescript/commit/6669e22ece34b4534e706a46d1842f01b68ee23a
- github.com/ash-project/ash_typescript/security/advisories/GHSA-6g23-p936-fm2f
- osv.dev/vulnerability/EEF-CVE-2026-82731
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.