Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-77454

published medium CVSS 4.0 · 5.9

exists/2 predicate silently dropped on limited relationships with a parent() filter in AshSql

Published
30 Aug 2026, 12:01:23 UTC
Updated
19 Nov 2026, 08:40:45 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ash-project — ash_sql0.4.1 to < 0.7.1 · Other versions: unaffected Affected Not stated EEF
ash-project — ash-project/ash_sqlash_sql · e26a63b29bd7501505fafd726f14262cdc3b6629 to < 865fdd4e5e70724a23b19c048e6768c31d2209ab · Other versions: unaffected Affected Not stated EEF

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.

en · EEF · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.9 / 10
Severity
medium
Provider
EEF · cna
Vector string
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
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ash-project ash_sql 0.4.1 to < 0.7.1 (affected · semver)Default: unaffected EEF · cna
ash-project ash_sql e26a63b29bd7501505fafd726f14262cdc3b6629 to < 865fdd4e5e70724a23b19c048e6768c31d2209ab (affected · git)Default: unaffected EEF · cna

Weaknesses

1
  • CWE-863 CWE-863 Incorrect Authorization (EEF · cna)

References

5

Provider assertions

2

EEF · cna

exists/2 predicate silently dropped on limited relationships with a parent() filter in AshSql

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
9ca93b73a6e5b25e64088ba032cf9fd051f05d8f14303e8f41ab96a6db8428f3
Ingested
19 Nov 2026, 08:43:53 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected