Security mailing lists by PureSourceCode

CVE-2026-86338

MEDIUM 6.0CVSS 4.0

Ash field policies do not filter-nil forbidden calculations and aggregates, enabling an information-disclosure oracle

Ash field_policies are documented to protect against filter-based information disclosure: when a field the actor may not see is referenced in a filter, it is replaced with an expression that evaluates to nil, so a filter cannot be used as a yes/no oracle to read a value the actor cannot see.

This nilling was applied to attributes but not to calculations or aggregates. A user-supplied filter reference to a calculation or aggregate carries an Ash.Query.Calculation / Ash.Query.Aggregate struct, which the authorizer's reference replacement did not match (it only matched the Ash.Resource.* structs), so the filter ran against the real value.

As a result, an actor whose field policies forbid a calculation or aggregate can still filter by it (for example filter(secret_calc == "x") or filter(comment_count == n)) and learn the value from whether rows match — an oracle that recovers field-policy-protected values one probe at a time. Filtering is commonly exposed to lower-privileged actors (for example via AshGraphql or AshJsonApi filter arguments), which is exactly the surface field policies are meant to protect.

The fix routes filter references to calculations and aggregates through the same field-policy nilling as attributes.

This issue affects ash: from 2.11.0-rc.0 before 3.33.4.

Published
16 Sep 2026
Last modified
26 Nov 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Awaiting Analysis
Weakness
CWE-1220
Also known as
EEF-CVE-2026-86338GHSA-7qr8-wrvq-566q
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-86338JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 MEDIUM 6.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/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
CVE List EEF CVSS 4.0 MEDIUM 6.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://repo.hex.pm ash
cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*
>= 2.11.0-rc.0, < 3.33.4 3.33.4
CVE List https://github.com ash-project/ash
cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*
>= 0b6d93c7c4637280b46ae66ea1d2eaf013701238, < b3d4503241f3deacb5ceb955e10a4fa927da0f67 b3d4503241f3deacb5ceb955e10a4fa927da0f67
OSV Hex ash >= 2.11.0-rc.0, < 3.33.4 3.33.4

References

History

  • 26 Nov 2026 18:37 UTC · OSV: updated (other details)
  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 16 Sep 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 16 Sep 2026)
  • 25 Nov 2026 20:10 UTC · CVE List: first stored (published 16 Sep 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.