CVE-2025-48043
Bypass and runtime policies that can never pass may be incorrectly applied in filter authorization
Incorrect Authorization vulnerability in ash-project ash allows Authentication Bypass.
This issue affects ash: from 0.1.1 before 3.6.2.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
8.6
Bypass and runtime policies that can never pass may be incorrectly applied in filter authorization
Incorrect Authorization vulnerability in ash-project ash allows Authentication Bypass.
This issue affects ash: from 0.1.1 before 3.6.2.
- Record
CVE-2025-48043- CVSS 4.0
- 8.6 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-863
- Updated
- 2026-11-02
EUVDEUVD-2025-33747
8.6
Incorrect Authorization vulnerability in ash-project ash allows Authentication Bypass.
This issue affects ash: from 0.1.1 before 3.6.2.
- Record
EUVD-2025-33747- CVSS 4.0
- 8.6 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-7r7f-9xpj-jmr7
8.6
Ash Framework: Filter authorization misapplies impossible bypass/runtime policies
Summary
When using filter authorization, two edge cases could cause the policy compiler/authorizer to generate a permissive filter:
-
Bypass policies whose condition can never pass at runtime were compiled as
OR(AND(condition, compiled_policies), NOT(condition)). If the condition could never be true at runtime, theNOT(condition)branch evaluated truthy and the overall expression became permissive. -
Runtime policy scenarios that reduce to “no checks are applicable” (an empty SAT scenario) were treated as an empty clause and dropped instead of being treated as
false, which could again produce an overly broad (permissive) filter.
These bugs could allow reads to return records that should have been excluded by policy.
Impact
Projects that rely on filter-based authorization and define:
bypass ... do ... endblocks whose condition(s) are only resolvable at runtime and can never pass in a given request context, or- runtime checks that simplify to an empty scenario for a clause
may unintentionally generate a permissive query filter, potentially returning unauthorized data.
Actions primarily affected: reads guarded by filter policies. Non-filter (e.g., hard forbid) policies are not impacted.
Technical details
This patch corrects two behaviors:
-
Ash.Policy.Policy.compile_policy_expression/1now treats bypass blocks asAND(condition_expression, compiled_policies)instead ofOR(AND(...), NOT(condition_expression)). This removes the permissiveNOT(condition)escape hatch when a bypass condition never passes. -
Ash.Policy.Authorizernow treats empty SAT scenarios (scenario == %{}) asfalse, ensuring impossible scenarios do not collapse into a no-op and inadvertently widen the filter. The reducer also normalizesnil→falseconsistently when buildingauto_filterfragments.
Relevant changes are in:
lib/ash/policy/policy.ex(bypass compilation)lib/ash/policy/authorizer/authorizer.ex(scenario handling / auto_filter normalization)- Tests added:
test/policy/filter_condition_test.exs(RuntimeFalsyCheck,RuntimeBypassResource) validate the corrected behavior.
Workarounds
- Avoid
bypasspolicies whose conditions are only decidable at runtime and may be perpetually false in some contexts; prefer explicitauthorize_if/forbid_ifblocks withoutbypassfor those cases. - Add an explicit final
forbid_if always()guard for sensitive reads as a belt-and-suspenders fallback until user can upgrade. - Where feasible, replace runtime-unknown checks with strict/compile-time checks or restructure to avoid empty SAT scenarios.
How to tell if user is affected
User is likely affected if ALL of the following are true:
- Uses filter authorization; and
- Defines
bypassblock withaccess_type :runtimewithout any policies after it; or - Defines
bypassblocks whose conditions are evaluated at runtime (e.g., checks withstrict_check/3returning:unknownand a runtimecheck/4that may never succeed in some contexts) without any policies after it
A quick sanity test is to issue a read expected to return no rows under such a bypass or runtime-falsy condition and verify it indeed returns []. The included test bypass works with filter policies demonstrates the corrected, non-permissive behavior.
- Record
GHSA-7r7f-9xpj-jmr7- CVSS 4.0
- 8.6 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-863
- Updated
- 2026-11-02
NVD
8.6
Incorrect Authorization vulnerability in ash-project ash allows Authentication Bypass.
This issue affects ash: from 0.1.1 before 3.6.2.
- Record
CVE-2025-48043- CVSS 4.0
- 8.6 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-863
- Updated
- 2026-11-02
OSV
8.6
Bypass and runtime policies that can never pass may be incorrectly applied in filter authorization
Incorrect Authorization vulnerability in ash-project ash allows Authentication Bypass.
This issue affects ash: from 0.1.1 before 3.6.2.
- Record
CVE-2025-48043- CVSS 4.0
- 8.6 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-863
- Updated
- 2026-11-02
OSVEEF-CVE-2025-48043
8.6
Bypass and runtime policies that can never pass may be incorrectly applied in filter authorization
Summary
Incorrect Authorization vulnerability in ash-project ash allows Authentication Bypass.
This issue affects ash: from 0.1.1 before 3.6.2.
- Record
EEF-CVE-2025-48043- CVSS 4.0
- 8.6 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-863
- Updated
- 2026-11-02
OSVGHSA-7r7f-9xpj-jmr7
8.6
Ash Framework: Filter authorization misapplies impossible bypass/runtime policies
Summary
When using filter authorization, two edge cases could cause the policy compiler/authorizer to generate a permissive filter:
-
Bypass policies whose condition can never pass at runtime were compiled as
OR(AND(condition, compiled_policies), NOT(condition)). If the condition could never be true at runtime, theNOT(condition)branch evaluated truthy and the overall expression became permissive. -
Runtime policy scenarios that reduce to “no checks are applicable” (an empty SAT scenario) were treated as an empty clause and dropped instead of being treated as
false, which could again produce an overly broad (permissive) filter.
These bugs could allow reads to return records that should have been excluded by policy.
Impact
Projects that rely on filter-based authorization and define:
bypass ... do ... endblocks whose condition(s) are only resolvable at runtime and can never pass in a given request context, or- runtime checks that simplify to an empty scenario for a clause
may unintentionally generate a permissive query filter, potentially returning unauthorized data.
Actions primarily affected: reads guarded by filter policies. Non-filter (e.g., hard forbid) policies are not impacted.
Technical details
This patch corrects two behaviors:
-
Ash.Policy.Policy.compile_policy_expression/1now treats bypass blocks asAND(condition_expression, compiled_policies)instead ofOR(AND(...), NOT(condition_expression)). This removes the permissiveNOT(condition)escape hatch when a bypass condition never passes. -
Ash.Policy.Authorizernow treats empty SAT scenarios (scenario == %{}) asfalse, ensuring impossible scenarios do not collapse into a no-op and inadvertently widen the filter. The reducer also normalizesnil→falseconsistently when buildingauto_filterfragments.
Relevant changes are in:
lib/ash/policy/policy.ex(bypass compilation)lib/ash/policy/authorizer/authorizer.ex(scenario handling / auto_filter normalization)- Tests added:
test/policy/filter_condition_test.exs(RuntimeFalsyCheck,RuntimeBypassResource) validate the corrected behavior.
Workarounds
- Avoid
bypasspolicies whose conditions are only decidable at runtime and may be perpetually false in some contexts; prefer explicitauthorize_if/forbid_ifblocks withoutbypassfor those cases. - Add an explicit final
forbid_if always()guard for sensitive reads as a belt-and-suspenders fallback until user can upgrade. - Where feasible, replace runtime-unknown checks with strict/compile-time checks or restructure to avoid empty SAT scenarios.
How to tell if user is affected
User is likely affected if ALL of the following are true:
- Uses filter authorization; and
- Defines
bypassblock withaccess_type :runtimewithout any policies after it; or - Defines
bypassblocks whose conditions are evaluated at runtime (e.g., checks withstrict_check/3returning:unknownand a runtimecheck/4that may never succeed in some contexts) without any policies after it
A quick sanity test is to issue a read expected to return no rows under such a bypass or runtime-falsy condition and verify it indeed returns []. The included test bypass works with filter policies demonstrates the corrected, non-permissive behavior.
- Record
GHSA-7r7f-9xpj-jmr7- CVSS 4.0
- 8.6 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-863
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ashHex |
before 3.6.2 | 3.6.2 |
ashHex |
0.1.1 up to 3.6.2, plus listed versions 0.1.30.1.80.1.90.10.00.12.0 Show 45 moreShow less0.13.00.13.10.2.00.3.00.4.00.5.00.5.10.5.20.6.00.6.10.6.20.6.30.6.40.6.50.7.00.8.00.9.00.9.11.0.01.0.11.0.21.0.31.1.01.1.21.1.31.10.01.11.01.11.11.12.01.13.01.13.11.13.21.13.31.13.41.14.01.15.01.15.11.16.21.17.01.17.11.18.01.18.11.19.01.19.11.2.0 |
3.6.2 |
ashHex |
before 3.6.2, plus listed versions 0.1.00.1.10.1.30.1.80.1.9 Show 45 moreShow less0.10.00.12.00.13.00.13.10.2.00.3.00.4.00.5.00.5.10.5.20.6.00.6.10.6.20.6.30.6.40.6.50.7.00.8.00.9.00.9.11.0.01.0.11.0.21.0.31.1.01.1.21.1.31.10.01.11.01.11.11.12.01.13.01.13.11.13.21.13.31.13.41.14.01.15.01.15.11.16.21.17.01.17.11.18.01.18.11.19.0 |
3.6.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-48043 is a high vulnerability (CVSS 8.6) in Ash-project Ash, published October 10, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.40%, the 33rd percentile. Fixed in ash 3.6.2.
References
github.com/ash-project/ash/security/advisories/GHSA-7r7f-9xpj-jmr7
cna.erlef.org/cves/CVE-2025-48043.html
osv.dev/vulnerability/EEF-CVE-2025-48043
github.com/ash-project/ash/commit/4c41344126b0aba09ec3085517000f8aefec299e
github.com/ash-project/ash/commit/66d81300065b970da0d2f4528354835d2418c7ae
nvd.nist.gov/vuln/detail/CVE-2025-48043
Left out here: 1,540 versions. The JSON record has them.