CVE-2026-77454
Last modified
CVE-2026-77454 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. Incorrect Authorization vulnerability in ash-project ash_sql allows a caller to bypass a scoping or authorization filter expressed as exists/2 over a relationship that declares both a limit (or from_many?) and a parent(...)-referencing filter or sort. AshSql.Join.related_query/3 skips the caller-supplied exists predicate for such relationships and delegates it to limit_from_many/5. When the relationship's own filter or sort references parent(...), limit_from_many/5 takes a branch that drops both the limit and the predicate, emitting a bare correlated EXISTS with no predicate.
Description
Incorrect Authorization vulnerability in ash-project ash_sql allows a caller to bypass a scoping or authorization filter expressed as exists/2 over a relationship that declares both a limit (or from_many?) and a parent(...)-referencing filter or sort. AshSql.Join.related_query/3 skips the caller-supplied exists predicate for such relationships and delegates it to limit_from_many/5. When the relationship's own filter or sort references parent(...), limit_from_many/5 takes a branch that drops both the limit and the predicate, emitting a bare correlated EXISTS with no predicate. The check then matches any record that has any related row. Most severely, when the expression backs a policy (for example authorize_if expr(exists(memberships, user_id == ^actor(:id)))), the actor-scoping condition disappears and the policy passes for any actor with any related row. This issue affects ash_sql: from 0.4.1 before 0.7.1.
Metrics
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/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 Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ash-project | ash_sql | >= 0.4.1, < 0.7.1 |
| ash-project | ash_sql | >= e26a63b29bd7501505fafd726f14262cdc3b6629, < 865fdd4e5e70724a23b19c048e6768c31d2209ab |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-77454?
How severe is CVE-2026-77454?
How do I fix CVE-2026-77454?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-77415JSONata is a JSON query and transformation language. Prior t…9.3
- CVE-2026-7742A flaw has been found in CodeAstro Online Classroom 1.0. The…6.3
- CVE-2026-7743A vulnerability has been found in CodeAstro Online Classroom…6.3
- CVE-2026-77438Trilium is an open-source hierarchical note-taking applicati…7.5
- CVE-2026-7744A vulnerability was found in CodeAstro Online Classroom 1.0.…6.3
- CVE-2026-7745A vulnerability was determined in CodeAstro Online Classroom…6.3
- CVE-2026-7746A vulnerability was identified in SourceCodester Web-based P…6.3
- CVE-2026-7747A security flaw has been discovered in Totolink N300RH 3.2.4…9.8
- CVE-2026-7748A weakness has been identified in Totolink N300RH 3.2.4-B202…8.8
- CVE-2026-7749A security vulnerability has been detected in Totolink N300R…8.8
- CVE-2026-7750A vulnerability was detected in Totolink N300RH 3.2.4-B20220…8.8
- CVE-2026-77506Znuny before LTS 6.5.22 allows AgentTicketEmailResend templa…4.8
Are you affected by CVE-2026-77454?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
