Cross-tenant disclosure via dropped query prefix
Published Aug 30, 2026 · Updated Aug 30, 2026
Incorrect authorization in AshSql 0.1.0 through 0.7.0 allows attackers to receive aggregate values computed from another tenant's rows. AshSql.AggregateQuery.add_single_aggs/5 rebuilds a distinct query from query.from.source without copying either tenant-schema prefix, so its outer query reads the default schema. Exposure requires AshPostgres context-based schema multitenancy and an aggregate over a distinct query; the disclosed result is limited to aggregate values from incorrectly matched rows.
Summary
What happened
Incorrect authorization in AshSql 0.1.0 through 0.7.0 allows attackers to receive aggregate values computed from another tenant's rows. AshSql.AggregateQuery.add_single_aggs/5 rebuilds a distinct query from query.from.source without copying either tenant-schema prefix, so its outer query reads the default schema. Exposure requires AshPostgres context-based schema multitenancy and an aggregate over a distinct query; the disclosed result is limited to aggregate values from incorrectly matched rows.
The record
- CVE
- CVE-2026-81318
- Published
- Aug 30, 2026
- Updated
- Aug 30, 2026
- Vendor
- Ash Framework
- Product
- AshSql
- Classifications
- CWE-863, CAPEC-1
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 30, 2026CVE publishedPublication date reported by the CVE source.
- Aug 30, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.1.0 <0.7.1
- Affected versionversion=dd092ed273dec7bd2194352f24a39229fc8ae68b <3d95478cc9e1d5bfaf6144fe9b9793f29e5ab889
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-ww8j-58rc-f8h3 schema-tenant aggregate proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo