Skip to main content
EPSS 0.2%top 93%

CVE-2026-77454: CWE-863 Incorrect Authorization in ash-project ash_sql

0
Medium
VulnerabilityCVE-2026-77454cvecve-2026-77454cwe-863
Published: 08/30/2026 (08/30/2026, 12:01:23 UTC)
Source: CVE Database V5
Vendor/Project: ash-project
Product: ash_sql

Description

CVE-2026-77454 is an incorrect authorization vulnerability in the ash-project's ash_sql library. It allows bypassing of authorization filters when a relationship declares both a limit (or from_many?) and a parent-referencing filter or sort. This causes the authorization check to be skipped, potentially allowing unauthorized access. The issue affects versions from 0.4.1 up to but not including 0.7.1.

CVSS v4.0

Score 5.9medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Affected software

ash-project

ash_sql

Affected versions
>=0.4.1 <0.7.1

ash-project

ash_sql

ash_sql
pkg:hex/ash_sql
Affected versions
>=0.4.1 <0.7.1
GitHub Actionsmore threats →cve
ash-project/ash_sql
pkg:github/ash-project/ash_sql
CPE configurations
cpe:2.3:a:ash-project:ash_sql:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 15:48:03 UTC

Technical Analysis

The vulnerability arises because AshSql.Join.related_query/3 skips the caller-supplied exists predicate for relationships that have both a limit (or from_many?) and a parent(...) referencing filter or sort. The function limit_from_many/5 then drops both the limit and the predicate, resulting in a bare correlated EXISTS with no predicate. This causes the authorization check to match any record with any related row, effectively bypassing actor-scoping conditions in policies that rely on such expressions. This can lead to unauthorized access when policies depend on these predicates for scoping.

Potential Impact

An attacker can bypass authorization filters that rely on exists/2 predicates over certain relationships, potentially gaining access to data or actions they should not be authorized for. This undermines the intended access control policies and can lead to privilege escalation or unauthorized data exposure within applications using affected versions of ash_sql.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Users should monitor the ash-project advisories for updates and consider implementing additional manual authorization checks as a temporary mitigation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-08-30T04:45:01.559Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a942091acd9273b498551af

Added to database: 08/30/2026, 12:22:41 UTC

Last enriched: 09/07/2026, 15:48:03 UTC

Last updated: 10/13/2026, 18:48:23 UTC

Views: 100

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses