πŸ” CVE Alert

CVE-2026-82732

UNKNOWN 0.0

Declared argument constraints not enforced on AshTypescript typed controller routes

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-20
Vendor ash-project
Product ash_typescript
Published Sep 1, 2026
Stay Ahead of the Next One

Get instant alerts for ash-project ash_typescript

Be the first to know when new unknown vulnerabilities affecting ash-project ash_typescript are published β€” delivered to Slack, Telegram or Discord.

Get Free Alerts β†’ Free Β· No credit card Β· 60 sec setup

Affected Versions

ash-project / ash_typescript
0.15.0 < 0.18.0
ash-project / ash_typescript
546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e < 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e

References

NVD β†— CVE.org β†— EPSS Data β†—
github.com: https://github.com/ash-project/ash_typescript/security/advisories/GHSA-f7fq-hwq6-jhvv cna.erlef.org: https://cna.erlef.org/cves/CVE-2026-82732.html osv.dev: https://osv.dev/vulnerability/EEF-CVE-2026-82732 github.com: https://github.com/ash-project/ash_typescript/commit/21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e

Credits

Peter Ullrich πŸ” Peter Ullrich Torkild Gundersen Kjevik / Ash Project Jonatan MΓ€nnchen / EEF