CVE-2026-82733: ash_typescript Route Handler Exposes Sensitive Data in Error Responses

ash_typescript Updated 01 Sep 2026

Summary

01/09/2026
Yes i
Medium
6.3

CVE-2026-82733: Route handler return value echoed into AshTypescript error response. Affects ash_typescript across 2 version ranges.

>= 0.15.0, < 0.18.0 >= 546a15e1a2d7dbf1df2d5a6ee4404bc3da87852e, < dec80e29543f96e43eeece8501376562f17ac638

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 designed to facilitate the integration of Ash Framework with TypeScript, enabling developers to create typed controllers for their applications. It provides a structured way to handle HTTP requests and responses while ensuring type safety. However, a vulnerability has been identified that allows sensitive internal application data to be exposed through error messages returned by route handlers.

Vulnerability Detail

The vulnerability arises from the way ash_typescript handles return values from route handlers. When a handler returns a value that is not a %Plug.Conn{}, the library passes this value to a function that interpolates it directly into the error response. This can lead to sensitive information, such as hashed passwords and tokens, being included in the HTTP 500 response body. This issue is particularly concerning as it allows unauthenticated attackers to read internal application data, contradicting the library's intended error handling practices.

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 implement a custom error handler that ensures only generic error messages are returned, preventing sensitive data from being exposed. For example, you can modify your controller to catch exceptions and return a standard error message:

defmodule MyAppWeb.MyController do
  use MyAppWeb, :controller

  def action(conn, params) do
    try do
      # Your action logic here
    rescue
      _ -> 
        conn
        |> put_status(:internal_server_error)
        |> json(%{error: "An unexpected error occurred."})
    end
  end
end

Conclusion

CVE-2026-82733 is a significant vulnerability in the ash_typescript library that can lead to the exposure of sensitive data through error messages. It is crucial for developers using affected versions to update to the patched version to ensure the security of their applications. Implementing a custom error handler can serve as a temporary measure while the update is being applied.

See every vulnerability recorded for ash_typescript →

Share this vulnerability

FAQ

CVE-2026-82733 is a vulnerability in the ash_typescript library that allows sensitive internal application data to be exposed through error messages returned by route handlers.

If your application uses ash_typescript versions between 0.15.0 and 0.18.0, it may expose sensitive information in HTTP error responses, which can be exploited by attackers.

You should update your ash_typescript package to version 0.18.0 or later to mitigate the vulnerability.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application for this vulnerability using the Vulert playground without any signup.

The CVSS score for CVE-2026-82733 is 6.3, indicating a moderate level of severity.

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