Incorrect Authorization Affecting ash package, versions >=3.6.3 <3.7.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.07% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-HEX-ASH-13638670
  • published20 Oct 2025
  • disclosed17 Oct 2025
  • creditJechol Lee

Introduced: 17 Oct 2025

NewCVE-2025-48044  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade ash to version 3.7.1 or higher.

Overview

ash is an A declarative, extensible framework for building Elixir applications.

Affected versions of this package are vulnerable to Incorrect Authorization in the conditions check logic during the policy evaluation. An attacker can gain unauthorized access to protected resources by exploiting a scenario where the bypass policy condition is evaluated as true.

PoC

policies do
  bypass always() do
    authorize_if actor_attribute_equals(:is_admin, true)
  end

  policy action_type(:read) do
    authorize_if always()
  end
end

References

CVSS Base Scores

version 4.0
version 3.1