CVE-2026-81853: AshAdmin Composite Primary Key Decoding Vulnerability Leading to Authorization Bypass

ash_admin Updated 31 Aug 2026

Summary

31/08/2026
Yes i
Low
2.3

CVE-2026-81853: AshAdmin composite primary key decoding accepts arbitrary fields, enabling a secret-attribute oracle. Affects ash_admin across 2 version ranges.

>= 0.1.0, < 1.3.1 >= 98b03baa8422b94dd13e305bf08b8ee3f7232c7b, < 3c3e905d47f1155dcc1ca3fb347348b05a66065a

Fixed in 1.3.1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

AshAdmin is a component of the Ash framework designed for building APIs in Elixir. It provides a user-friendly interface for managing resources and permissions. The framework supports composite primary keys, allowing for more complex data structures. However, this flexibility introduces vulnerabilities, particularly in how it handles key decoding, which can lead to unauthorized access to sensitive data.

Vulnerability Detail

The vulnerability arises from an authorization bypass in the AshAdmin package, specifically in the decode_primary_key function. This function decodes composite primary keys without validating that the keys belong to the resource's primary-key fields. As a result, an attacker can manipulate the lookup filter by injecting arbitrary fields, allowing them to brute-force sensitive attribute values such as API tokens. The lack of restrictions on decoded keys enables this exploitation, posing a significant risk to data integrity and confidentiality.

How To Fix

Latest published version: 1.3.3 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

1.3.1

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, ensure that your application does not expose sensitive attributes through AshAdmin until the package is updated. Implement additional authorization checks to restrict access to sensitive data.

Conclusion

CVE-2026-81853 presents a significant risk to applications using the AshAdmin package due to its flawed handling of composite primary key decoding. It is crucial to update to the patched version to mitigate this vulnerability and protect sensitive data from unauthorized access.

See every vulnerability recorded for ash_admin →

Share this vulnerability

FAQ

CVE-2026-81853 is a vulnerability in the AshAdmin package that allows unauthorized access to sensitive attributes through a composite primary key decoding flaw.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which monitors and alerts for open-source vulnerabilities.

The vulnerability can lead to unauthorized access to sensitive data, such as API tokens, which can compromise the security of your application.

If an immediate update is not possible, implement additional authorization checks and restrict access to sensitive attributes until the package is updated.

The CVSS score of this vulnerability is 2.3, indicating a low severity level.

Related vulnerabilities

Recent vulnerabilities recorded for ash_admin.

How To Fix

Latest published version: 1.3.3 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

1.3.1

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