EnvMap GitHub

CVE-2026-140867

Aggregates in Ash skip the read policies of the records they read on several query paths, disclosing counts and values of hidden records

EPSS 0.24%Received

Description

Incorrect authorization vulnerability in Ash allows an actor to read counts, sums and attribute values of related records they cannot read via aggregates. Ash.Actions.Read (lib/ash/actions/read/read.ex) authorized an aggregate in two passes. Ash.Filter.relationship_filters/7 built a policy filter for each relationship it found an aggregate reading, and authorize_aggregate/11 looked each filter up and applied none when it found none. An aggregate the first pass did not reach ran without its destination's read policy. That covered an aggregate or calculation given as the field: of Ash.aggregate/3, the aggregates inside a calculation used as an aggregate's field, an aggregate in another aggregate's filter, sort or join filter, and an aggregate in a combination or in the sort of an atomic bulk update or destroy. Ash.count/2, Ash.exists/2 and Ash.aggregate/3 also ignored a read policy that is decided against the records, and an aggregate reached on these paths over a multitenant resource required no tenant. This issue affects ash: from 2.17.22 before 3.39.1.

In the words of the organisation that published it (EEF).

Severity

  • 5.9 Medium · CVSS 4.0 from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db · CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/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

Affected

  • ash-project ash: from 2.17.22 before 3.39.1; from a12131cf70872e33d881c2c7c5d65cf9d2b5fb34 before 42ee4418dfc968c1c5779dd928c

as the publisher (EEF) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.24% chance of exploitation in the next 30 days, higher than 16% of all CVEs (as of 4 December 2026).

Weakness

CWE-863

References

Record

Published07:17 UTC, 4 December 2026
Last changed07:17 UTC, 4 December 2026
NVD statusReceived
Published byEEF

CVE-2026-140867 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.