PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-81316 ash-project CVE debrief

The CVE-2026-81316 record indicates an Incorrect Authorization vulnerability in ash-project ash_sql, allowing disclosure of aggregate values across authorization or tenancy boundaries due to inadequate filter checks in aggregate queries. This issue affects ash_sql versions from 0.1.0 before 0.7.1. The vulnerability arises from AshSql.Aggregate.different_queries?/2 reporting two aggregate queries as different only when their filter and their sort both differ. As aggregate queries rarely carry a sort, 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. Users should review and apply patches to prevent unauthorized disclosure of aggregate values. This includes operators managing ash_sql deployments, platform administrators, vulnerability management teams, and security teams responsible for monitoring and protecting sensitive data.

Vendor
ash-project
Product
ash_sql
CVSS
LOW 2.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-30
Original CVE updated
2026-08-30
Advisory published
2026-08-30
Advisory updated
2026-08-30

Who should care

Users of ash-project ash_sql, especially those with sensitive aggregate data, should review and apply patches to prevent unauthorized disclosure of aggregate values. This includes operators managing ash_sql deployments, platform administrators, vulnerability management teams, and security teams responsible for monitoring and protecting sensitive data. Reviewing compensating controls and conducting inventory checks to identify and update vulnerable ash_sql instances are also recommended.

Technical summary

The ash-project ash_sql library incorrectly handles aggregate queries with different filters, allowing a caller to receive aggregate values computed over rows that should have been excluded by a more restrictive filter. This issue affects ash_sql versions from 0.1.0 before 0.7.1. The vulnerability arises from AshSql.Aggregate.different_queries?/2 reporting two aggregate queries as different only when their filter and their sort both differ. As aggregate queries rarely carry a sort, two aggregates that share a name but carry entirely different filters compare as identical.

Defensive priority

Review and apply vendor patches for ash_sql to prevent unauthorized disclosure of aggregate values.

Recommended defensive actions

  • Review and apply vendor patches for ash_sql to prevent unauthorized disclosure of aggregate values.
  • Implement compensating controls to monitor and restrict access to sensitive aggregate data.
  • Conduct inventory checks to identify and update vulnerable ash_sql instances.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.

Evidence notes

The CVE-2026-81316 record indicates an Incorrect Authorization vulnerability in ash-project ash_sql, allowing disclosure of aggregate values across authorization or tenancy boundaries due to inadequate filter checks in aggregate queries. Evidence is based on official CVE and NVD records, as well as references from Erlef, GitHub, and OSV. To verify, defenders should review the official advisory, assess affected deployments, and monitor for suspicious aggregate query activity.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-81316 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-81316

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-81316 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-81316

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://cna.erlef.org/cves/CVE-2026-81316.html

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

  • Source reference

    Unverified legacy reference

    URL: https://github.com/ash-project/ash_sql/commit/4b95468e5434a3526571414219719c9518be6694

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

  • Source reference

    Unverified legacy reference

    URL: https://github.com/ash-project/ash_sql/security/advisories/GHSA-v7pf-wjxc-7j5m

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

  • Source reference

    Unverified legacy reference

    URL: https://osv.dev/vulnerability/EEF-CVE-2026-81316

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.