{"id":"CVE-2026-82732","sourceIdentifier":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","published":"2026-09-01T03:16:53.193","lastModified":"2026-11-19T09:18:08.013","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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.\n\nAshTypescript.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.\n\nWhere a constraint gates a role, a status, or a sort direction, this becomes a privilege or state-machine bypass.\n\nThis issue affects ash_typescript: from 0.15.0 before 0.18.0."}],"affected":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","affectedData":[{"vendor":"ash-project","product":"ash_typescript","defaultStatus":"unaffected","collectionURL":"https://repo.hex.pm","packageName":"ash_typescript","cpes":["cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshTypescript.TypedController.RequestHandler'"],"programFiles":["lib/ash_typescript/typed_controller/request_handler.ex"],"programRoutines":[{"name":"'Elixir.AshTypescript.TypedController.RequestHandler':cast_arguments/2"},{"name":"'Elixir.AshTypescript.TypedController.RequestHandler':handle/4"}],"repo":"https://github.com/ash-project/ash_typescript","packageURL":"pkg:hex/ash_typescript","versions":[{"version":"0.15.0","lessThan":"0.18.0","versionType":"semver","status":"affected"}]},{"vendor":"ash-project","product":"ash_typescript","defaultStatus":"unaffected","collectionURL":"https://github.com","packageName":"ash-project/ash_typescript","cpes":["cpe:2.3:a:ash-project:ash_typescript:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshTypescript.TypedController.RequestHandler'"],"programFiles":["lib/ash_typescript/typed_controller/request_handler.ex"],"programRoutines":[{"name":"'Elixir.AshTypescript.TypedController.RequestHandler':cast_arguments/2"},{"name":"'Elixir.AshTypescript.TypedController.RequestHandler':handle/4"}],"repo":"https://github.com/ash-project/ash_typescript","packageURL":"pkg:github/ash-project/ash_typescript","versions":[{"version":"546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e","lessThan":"21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e","versionType":"git","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":6.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-09-01T14:54:31.577510Z","id":"CVE-2026-82732","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","description":[{"lang":"en","value":"CWE-20"}]}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-82732.html","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/ash-project/ash_typescript/commit/21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/ash-project/ash_typescript/commit/546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/ash-project/ash_typescript/security/advisories/GHSA-f7fq-hwq6-jhvv","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82732","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/ash-project/ash_typescript/security/advisories/GHSA-f7fq-hwq6-jhvv","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}