Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-82731

LOW 2.3EPSS 36%

Unescaped path parameters in AshTypescript generated TypeScript client allow request redirection

Mitigation

  • Upgrade ash_typescript to 0.18.0 or later.
  • Upgrade ash_typescript to 5165f752f5f92b755d946f2d1ce750ff69083ffc or later.

Who should check

  • Anyone running ash-project ash_typescript >= 0.15.0, < 0.18.0
  • Anyone running ash-project ash_typescript >= 6669e22ece34b4534e706a46d1842f01b68ee23a, < 5165f752f5f92b755d946f2d1ce750ff69083ffc

Vulnerability facts

Affected
ash-project ash_typescript >= 0.15.0, < 0.18.0; ash-project ash_typescript >= 6669e22ece34b4534e706a46d1842f01b68ee23a, < 5165f752f5f92b755d946f2d1ce750ff69083ffc
Fixed in
ash-project ash_typescript 0.18.0, ash-project ash_typescript 5165f752f5f92b755d946f2d1ce750ff69083ffc
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
2.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: Passive
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: None
  • Confidentiality impact on other systems: Low
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.50% chance of exploitation in 30 days (percentile 36, 2026-11-26)
CWE
CWE-601
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
ash-project ash_typescript>= 0.15.0, < 0.18.0—cvelist
ash-project ash_typescript>= 6669e22ece34b4534e706a46d1842f01b68ee23a, < 5165f752f5f92b755d946f2d1ce750ff69083ffc—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-82731. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-82731.md
Affected: ash-project ash_typescript >= 0.15.0, < 0.18.0; ash-project ash_typescript >= 6669e22ece34b4534e706a46d1842f01b68ee23a, < 5165f752f5f92b755d946f2d1ce750ff69083ffc
Fixed in: ash-project ash_typescript 0.18.0, ash-project ash_typescript 5165f752f5f92b755d946f2d1ce750ff69083ffc

Steps:
1. Search this machine and project for ash-project ash_typescript: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-82731 being exploited?

There is no confirmed exploitation: CVE-2026-82731 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.50% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-82731?

Low: CVSS 2.3 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-82731?

ash-project ash_typescript >= 0.15.0, < 0.18.0; ash-project ash_typescript >= 6669e22ece34b4534e706a46d1842f01b68ee23a, < 5165f752f5f92b755d946f2d1ce750ff69083ffc.

Is there a fix for CVE-2026-82731?

Yes. Fixed in ash-project ash_typescript 0.18.0, ash-project ash_typescript 5165f752f5f92b755d946f2d1ce750ff69083ffc. Upgrade ash_typescript to 0.18.0 or later. Upgrade ash_typescript to 5165f752f5f92b755d946f2d1ce750ff69083ffc or later.

How do I check if I'm affected by CVE-2026-82731?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors