Intel

AIKIDO-2026-287958

ash_phoenix is vulnerable to Incorrect Authorization

Incorrect AuthorizationCVE-2026-82724 Published Yesterday

76

High Risk

This Affects:

ELIXIRash_phoenix
2.1.26 - 2.3.24
Fixed in 2.3.25
Are you affected? Scan for Free

TL;DR

AshPhoenix.LiveView.SubdomainHook runs its handle_subdomain callback during on_mount, before the tenant is assigned. The tenant is only assigned later when LiveView calls handle_params, so the callback and any authorization it performs receive a nil tenant instead of the real one. Tenant-scoped access checks therefore never validate the actual tenant, permitting cross-tenant access. The fix runs handle_subdomain with the real tenant in handle_params.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you rely on AshPhoenix.LiveView.SubdomainHook with a handle_subdomain callback for tenant-scoped authorization.

Background info

ash_phoenix is vulnerable to Incorrect Authorization in versions 2.1.26 - 2.3.24.

How to fix this

Upgrade the ash_phoenix library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform