CVE-2026-82732
Declared argument constraints not enforced on AshTypescript typed controller routes
Mitigation
- Upgrade ash_typescript to 0.18.0 or later.
- Upgrade ash_typescript to 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e or later.
Who should check
- Anyone running ash-project ash_typescript >= 0.15.0, < 0.18.0
- Anyone running ash-project ash_typescript >= 546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e, < 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e
Vulnerability facts
- Affected
- ash-project ash_typescript >= 0.15.0, < 0.18.0; ash-project ash_typescript >= 546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e, < 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e
- Fixed in
- ash-project ash_typescript 0.18.0, ash-project ash_typescript 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/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: None
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.68% chance of exploitation in 30 days (percentile 47, 2026-11-26)
- CWE
- CWE-20
- Modified
Description
Improper Input Validation vulnerability in ash-project ash_typescript allows a remote attacker to submit argument values outside a declared allowlist or bound on typed-controller routes. AshTypescript.TypedController.RequestHandler in lib/ash_typescript/typed_controller/request_handler.ex calls Ash.Type.cast_input/3 and treats an {:ok, cast} result as fully validated. In Ash these are separate steps: cast_input/3 only coerces the term, while every constraint declared on the argument is applied by Ash.Type.apply_constraints/3, which this path never calls. Constraints such as one_of, max_length, min and max, and match are therefore inert, so a value outside a declared allowlist is accepted and passed to the route handler. Codegen renders the same constraints into the generated TypeScript types, so an allowlist appears enforced to a TypeScript caller while any other HTTP client ignores it. Empty-string to nil normalization also lives in apply_constraints, so the allow_nil?: false check accepts "" for a required argument. Where a constraint gates a role, a status, or a sort direction, this becomes a privilege or state-machine bypass. This issue affects ash_typescript: from 0.15.0 before 0.18.0.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| ash-project ash_typescript | >= 0.15.0, < 0.18.0 | — | cvelist |
| ash-project ash_typescript | >= 546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e, < 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e | — | 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-82732. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-82732.md Affected: ash-project ash_typescript >= 0.15.0, < 0.18.0; ash-project ash_typescript >= 546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e, < 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e Fixed in: ash-project ash_typescript 0.18.0, ash-project ash_typescript 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e 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
Vendor advisories
Patches
FAQ
Is CVE-2026-82732 being exploited?
There is no confirmed exploitation: CVE-2026-82732 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-82732?
Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-82732?
ash-project ash_typescript >= 0.15.0, < 0.18.0; ash-project ash_typescript >= 546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e, < 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e.
Is there a fix for CVE-2026-82732?
Yes. Fixed in ash-project ash_typescript 0.18.0, ash-project ash_typescript 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e. Upgrade ash_typescript to 0.18.0 or later. Upgrade ash_typescript to 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e or later.
How do I check if I'm affected by CVE-2026-82732?
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.