CVE-2026-81316: CWE-863 Incorrect Authorization in ash-project ash_sql
Description
CVE-2026-81316 is an incorrect authorization vulnerability in ash-project's ash_sql component. It allows an attacker to receive aggregate values computed over data that should have been excluded by more restrictive filters, potentially disclosing sensitive aggregated information across authorization or tenancy boundaries. The issue arises because aggregate queries are considered identical if their filters differ but their sort criteria do not, leading to reuse of aggregate results from broader queries for narrower ones. This affects ash_sql versions from 0.1.0 up to but not including 0.7.1.
CVSS v4.0
Score 2.1low
Affected software
ash-project
ash_sql
ash-project
ash_sql
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.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in ash_sql involves the function AshSql.Aggregate.different_queries?/2, which only treats two aggregate queries as different if both their filter and sort differ. Since aggregate queries rarely include sorting, queries with the same name but different filters are treated as identical. This causes the system to reuse the aggregate result from the first registered query, which may have a broader filter, for subsequent queries with narrower filters. Consequently, an attacker can obtain aggregate data that should have been restricted by authorization or tenancy boundaries. This affects ash_sql versions >=0.1.0 and <0.7.1.
Potential Impact
An attacker can receive aggregate values (counts, sums, or lists) computed over data sets that should have been excluded by authorization or tenancy filters. This leads to unauthorized disclosure of aggregated information across boundaries that should enforce data separation. The CVSS 4.0 score is low (2.1), reflecting limited impact and the requirement for local access (AV:L) and partial attack complexity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Users of affected versions (>=0.1.0 <0.7.1) should monitor vendor communications for patches or updates addressing this authorization flaw.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-08-29T23:30:01.223Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a942091acd9273b498551b1
Added to database: 08/30/2026, 12:22:41 UTC
Last enriched: 09/07/2026, 15:48:36 UTC
Last updated: 10/14/2026, 18:48:24 UTC
Views: 97
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.