# CVE-2026-82732: Declared argument constraints not enforced on AshTypescript typed controller routes

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.68% (percentile 47, 2026-11-28)
- **CWE:** CWE-20
- **Published:** 2026-09-01T02:09:15.070Z
- **Modified:** 2026-11-19T09:18:08.013Z

## Who should check

- Anyone running ash-project ash\_typescript \>= 0.15.0, \< 0.18.0
- Anyone running ash-project ash\_typescript \>= 546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e, \< 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e

## 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

- ash-project ash\_typescript: \>= 0.15.0, \< 0.18.0 (cvelist)
- ash-project ash\_typescript: \>= 546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e, \< 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e (cvelist)

## Mitigation

- Upgrade ash\_typescript to 0.18.0 or later.
- Upgrade ash\_typescript to 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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-28).

### 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.

## References

- vendor: <https://github.com/ash-project/ash_typescript/security/advisories/GHSA-f7fq-hwq6-jhvv>
- patch: <https://github.com/ash-project/ash_typescript/commit/546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e>
- patch: <https://github.com/ash-project/ash_typescript/commit/21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e>
- other: <https://cna.erlef.org/cves/CVE-2026-82732.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-82732>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-82732>

HTML: <https://flawdb.com/CVE-2026-82732> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-82732>
