CVE-2026-82732: Vulnerability in ash_typescript Allows Bypassing Argument Constraints

ash_typescript Updated 01 Sep 2026

Summary

01/09/2026
Yes i
Medium
6.3

CVE-2026-82732: Declared argument constraints not enforced on AshTypescript typed controller routes. Affects ash_typescript across 2 version ranges.

>= 0.15.0, < 0.18.0 >= 546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e, < 21ab6f1229a4dccdb56bc37ed437d9672a0c4a4e

Fixed in 0.18.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

ash_typescript is a library that facilitates the creation of typed controllers in Elixir applications, enabling developers to define routes with strict type constraints. This library aims to enhance type safety and reduce runtime errors by ensuring that only valid data is processed. However, a recent vulnerability has been identified that undermines these constraints, potentially allowing unauthorized access or incorrect data handling.

Vulnerability Detail

The vulnerability arises from improper input validation in the ash_typescript library, specifically in the AshTypescript.TypedController.RequestHandler. The method calls Ash.Type.cast_input/3, which only coerces input types without enforcing the declared constraints on the arguments. As a result, values outside the defined allowlist can be accepted, leading to potential privilege escalation or state-machine bypasses. This issue affects versions from 0.15.0 to before 0.18.0, allowing attackers to exploit the system by submitting invalid data that should have been restricted.

How To Fix

Latest published version: 0.19.2 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.18.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can manually validate the input in your route handlers before processing it. For example, you can implement a check to ensure that the input adheres to the expected constraints before proceeding with the request handling.

Conclusion

The CVE-2026-82732 vulnerability in the ash_typescript library poses significant risks by allowing the bypass of declared argument constraints. It is crucial for developers using affected versions to update to the latest version to ensure proper input validation and maintain application security.

See every vulnerability recorded for ash_typescript →

Share this vulnerability

FAQ

CVE-2026-82732 is a vulnerability in the ash_typescript library that allows attackers to bypass argument constraints on typed controller routes.

Versions of ash_typescript from 0.15.0 to before 0.18.0 are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability can lead to unauthorized access, privilege escalation, or incorrect data processing due to the acceptance of invalid input.

To update the package, modify your mix.exs file to specify version 0.18.0 or later and run mix deps.update ash_typescript.

Related vulnerabilities

Recent vulnerabilities recorded for ash_typescript.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 0.19.2 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.18.0

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback