PT-2026-83549 · Ash Sql · Ash Sql

·

CVE-2026-81318

·

Published

2026-08-30

·

Updated

2026-08-31

CVSS v4.0

2.1

Low

VectorAV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions ash sql versions 0.1.0 through 0.7.0
Description An incorrect authorization issue exists in schema-based multitenant applications. When an aggregate is computed over a distinct query, the function add single aggs() rebuilds the outer query using only the source tuple, omitting the query.prefix or query.from.prefix. In applications using the strategy(:context) multitenancy approach, these prefixes contain the tenant schema. Consequently, the rebuilt outer query accesses the default repository schema while the inner correlated subquery accesses the tenant schema, leading to aggregate values being computed from rows belonging to a different tenant.
Recommendations Update ash sql to version 0.7.1 or later.

Exploit

Fix

Incorrect Authorization

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-81318
GHSA-WW8J-58RC-F8H3

Affected Products

Ash Sql