Skip to main content
EPSS 0.2%top 94%

CVE-2026-81316: CWE-863 Incorrect Authorization in ash-project ash_sql

0
Low
VulnerabilityCVE-2026-81316cvecve-2026-81316cwe-863
Published: 08/30/2026 (08/30/2026, 11:59:41 UTC)
Source: CVE Database V5
Vendor/Project: ash-project
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

ash-project

ash_sql

Affected versions
>=0.1.0 <0.7.1

ash-project

ash_sql

ash_sql
pkg:hex/ash_sql
Affected versions
>=0.1.0 <0.7.1
GitHub Actionsmore threats →cve
ash-project/ash_sql
pkg:github/ash-project/ash_sql
CPE configurations
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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 15:48:36 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses