CVE-2026-77454Ash Project Ash Sql incorrect authorization
CVSS score
5.9
Medium
CVSS 4.0 from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Exploit probability (EPSS)
0.19%
0.19% chance of exploitation in the next 30 days, higher than 8.61% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
How to fix it, step by step
Check whether you're affected
Find every system running ash-project Ash Sql and compare its version with the affected versions.
Update to a fixed version
- Update Ash Sql to 0.7.1 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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
Affected products
| Affected products | Versions |
|---|---|
| ash-project Ash Sql | ≥ 0.4.1, < 0.7.1 · ≥ e26a63b29bd7501505fafd726f14262cdc3b6629, < 865fdd4e5e70724a23b19c048e6768c31d2209ab |
Weakness
- CWE-863 incorrect authorization
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-77454 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-77454?
CVE-2026-77454 has a CVSS 4.0 base score of 5.9 (medium).
Which versions are affected?
Ash Project Ash Sql (≥ 0.4.1, < 0.7.1; ≥ e26a63b29bd7501505fafd726f14262cdc3b6629, < 865fdd4e5e70724a23b19c048e6768c31d2209ab)
Is there a patch for CVE-2026-77454?
The official record links to vendor advisories or patches; see “What to do” above.
References
- cna.erlef.org/cves/CVE-2026-77454.html
- github.com/ash-project/ash_sql/commit/865fdd4e5e70724a23b19c048e6768c31d2209ab
- github.com/ash-project/ash_sql/commit/e26a63b29bd7501505fafd726f14262cdc3b6629
- github.com/ash-project/ash_sql/security/advisories/GHSA-8v9m-8pxv-738c
- osv.dev/vulnerability/EEF-CVE-2026-77454
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.