Security mailing lists by PureSourceCode

CVE-2026-128360

LOW 2.1CVSS 4.0

Aggregates given a tenant are read in the enclosing query's tenant, leaking across tenants in AshSql

Incorrect Authorization vulnerability in ash_sql allows a caller in a multitenant application to receive aggregate values computed from another tenant's rows.

An aggregate can be given a tenant with the tenant option of Ash.Query.aggregate/5. AshSql.Aggregate.Lateral.add_aggregates/6 read only part of such an aggregate in that tenant. A field that is an aggregate or calculation, and what the aggregate's filter and sort refer to, were read in the tenant of the enclosing query, and with no tenant on that query they were read across every tenant. Aggregates over the same relationship were grouped into one lateral join without regard to their tenants, and with strategy(:context) multitenancy the aggregate was read in the schema of the enclosing query.

This issue affects ash_sql: from 0.1.0 before 0.9.1.

Published
4 Dec 2026
Last modified
4 Dec 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Received
Weakness
CWE-863
Also known as
EEF-CVE-2026-128360GHSA-3496-vm79-25q9
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-128360JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 LOW 2.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE List EEF CVSS 4.0 LOW 2.1 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://repo.hex.pm ash_sql
cpe:2.3:a:ash-project:ash_sql:*:*:*:*:*:*:*:*
>= 0.1.0, < 0.9.1 0.9.1
CVE List https://github.com ash-project/ash_sql
cpe:2.3:a:ash-project:ash_sql:*:*:*:*:*:*:*:*
>= dd092ed273dec7bd2194352f24a39229fc8ae68b, < 3bc558e984379448ede1db615ce16faea7e313e8 3bc558e984379448ede1db615ce16faea7e313e8
OSV Hex ash_sql >= 0.1.0, < 0.9.1 0.9.1

References

History

  • 4 Dec 2026 09:09 UTC · NVD: first stored (published 4 Dec 2026)
  • 4 Dec 2026 07:09 UTC · OSV: first stored (published 4 Dec 2026)
  • 4 Dec 2026 06:56 UTC · CVE List: first stored (published 4 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.