Skip to main content

ash_sql CVE-2026-81316

| EUVDEUVD-2026-68196 LOW
Incorrect Authorization (CWE-863)
2026-08-30 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
2.1
CVSS 4.0 · Vendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Severity by source

Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db) PRIMARY
2.1 LOW
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/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
vuln.today AI
3.1 LOW

Network-reachable via application API; high complexity due to required same-name aggregate collision; low privileges since any application user can trigger aggregates; confidentiality impact limited to aggregate values.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db).

CVSS VectorVendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

4
CVE Published
Aug 31, 2026 - 10:50 cve.org
LOW 2.1
Patch available
Aug 30, 2026 - 14:01 EUVD
Source Code Evidence Fetched
Aug 30, 2026 - 12:32 vuln.today
Analysis Generated
Aug 30, 2026 - 12:32 vuln.today

DescriptionCVE.org

Incorrect Authorization vulnerability in ash-project ash_sql allows a caller to receive an aggregate value computed over rows a more restrictive filter should have excluded, disclosing counts, sums, or lists across an authorization or tenancy boundary.

AshSql.Aggregate.different_queries?/2 reports two aggregate queries as different only when their filter and their sort both differ. Aggregate queries rarely carry a sort, so two aggregates that share a name but carry entirely different filters compare as identical. The colliding aggregate keeps its name and is treated as already computed, and select_aggregates returns the first-registered variant's value. The same name reaches the builder twice with different filters when actor or tenant context is stamped into each aggregate's query, so a narrowly filtered aggregate can be served the value of a previously registered broad one.

This issue affects ash_sql: from 0.1.0 before 0.7.1.

AnalysisAI

Aggregate authorization bypass in ash_sql 0.1.0 through 0.7.0 allows a caller to receive aggregate data - counts, sums, or lists - computed over rows that a stricter actor- or tenant-scoped filter should have excluded. The root cause is a single-character logical operator error in AshSql.Aggregate.different_queries?/2 (AND instead of OR), causing same-named aggregates carrying different authorization filters to be treated as already-computed identical queries, returning the first-registered broader value. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Execution
technique details hidden
Persist
technique details hidden
Impact
technique details hidden

Vulnerability AssessmentAI

Exploitation Exploitation requires an application built on Ash Framework using ash_sql for SQL execution, and specifically requires that two or more aggregate queries sharing the same name but carrying different actor- or tenant-scoped filters be registered within the same query-building context. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 4.0 score of 2.1 (Low) accurately captures the narrow blast radius: attack requirements are present (AT:P), confidentiality impact is limited to aggregate values rather than raw rows (VC:L), and there is no integrity or availability impact. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario Full exploit scenario with step-by-step reproduction available after sign-in.
Remediation Upgrade ash_sql to version 0.7.1 or later, which corrects the logical operator in AshSql.Aggregate.different_queries?/2 via commit 4b95468e5434a3526571414219719c9518be6694. … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-81316 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy