Improper Input Validation vulnerability in ash-project ashtypescript allows a remote attacker to submit argument values outside a declared…
CVE-2026-82732
Improper Input Validation vulnerability in ash-project ashtypescript allows a remote attacker to submit argument values outside a declared allowlist or bound on typed-controller routes. AshTypescript.TypedController.RequestHandler in lib/ashtypescript/typedcontroller/requesthandler.ex calls Ash.Type.castinput/3 and treats an {:ok, cast} result as fully validated. In Ash these are separate steps: castinput/3 only coerces the term, while every constraint declared on the argument is applied by Ash.Type.applyconstraints/3, which this path never calls. Constraints such as oneof, maxlength, 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 applyconstraints, so the allownil?: 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 ashtypescript: from 0.15.0 before 0.18.0.
Assessment
- CVSS
- 6.3 (v4.0)
- Severity
- Medium
- EPSS
- 0.68% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 1 September 2026
- Last updated
- 19 November 2026
- Affected
- ash-project · ash_typescript
- Assigner
- EEF
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
At the source
References
- https://github.com/ash-project/ash_typescript/security/advisories/GHSA-f7fq-hwq6-jhvv
- https://cna.erlef.org/cves/CVE-2026-82732.html
- https://osv.dev/vulnerability/EEF-CVE-2026-82732
- https://github.com/ash-project/ash_typescript/commit/546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e
- https://github.com/ash-project/ash_typescript/commit/21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-82732