PT-2026-84080 · Unknown · Ash Typescript

·

CVE-2026-82732

·

Published

2026-09-01

·

Updated

2026-09-01

CVSS v4.0

6.3

Medium

VectorAV: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
Name of the Vulnerable Software and Affected Versions ash typescript versions 0.15.0 through 0.17.x
Description Improper input validation in typed-controller routes allows a remote attacker to submit argument values that bypass declared allowlists or bounds. The AshTypescript.TypedController.RequestHandler function in lib/ash typescript/typed controller/request handler.ex utilizes Ash.Type.cast input/3 but fails to call Ash.Type.apply constraints/3. Consequently, constraints such as one of, max length, min, max, and match are not enforced, allowing values outside the intended range to reach the route handler. This discrepancy occurs because while the generated TypeScript types reflect these constraints, other HTTP clients can ignore them. Additionally, the failure to apply constraints prevents empty-string to nil normalization, allowing empty strings to bypass allow nil?: false checks for required arguments. This can lead to privilege escalation or state-machine bypass when constraints are used to gate roles, statuses, or sort directions.
Recommendations Update ash typescript to version 0.18.0 or later.

Exploit

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-82732
GHSA-F7FQ-HWQ6-JHVV

Affected Products

Ash Typescript