{"answers":{"affected":"1 open source package ship an affected version, including ash.","exploited":"There is no known exploitation of CVE-2026-86338 in the wild and no public exploit code.","fix":"Upgrade ash to 3.33.4 or later.","what":"CVE-2026-86338 is a medium-severity vulnerability in ash-project ash, published on 16 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-86338 and fix it if it is affected.\n\nWhat it is: CVE-2026-86338 is a medium-severity vulnerability in ash-project ash, published on 16 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-86338 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ash (Hex): affected from 2.11.0-rc.0; fixed in 3.33.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-86338/ (Markdown: https://insights.sbomify.com/CVE-2026-86338/index.md)","id":"CVE-2026-86338","markdown":"https://insights.sbomify.com/CVE-2026-86338/index.md","name":"CVE-2026-86338","record":{"aliases":["EEF-CVE-2026-86338","GHSA-7qr8-wrvq-566q","GHSA-h9mg-hh48-hrwv"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Elixir Ash framework","requires_auth":"low_privilege","summary":"Attackers can bypass field policies to read protected calculation and aggregate values via filter-based oracles in the Ash framework.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-1220","name":"Insufficient Granularity of Access Control"}],"description":"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.\n\nThis 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.\n\nAs 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.\n\nThe fix routes filter references to calculations and aggregates through the same field-policy nilling as attributes.\n\nThis issue affects ash: from 2.11.0-rc.0 before 3.33.4.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Ash field policies do not filter-nil forbidden calculations and aggregates, enabling an information-disclosure oracle","id":"CVE-2026-86338","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":1,"n_references":5,"next":{"headline":"Access Control Check Implemented After Asset is Accessed in GitLab","id":"CVE-2026-86341"},"packages":[{"ecosystem":"Hex","fixed":["3.33.4"],"introduced":["2.11.0-rc.0"],"last_affected":[],"package":"ash","purl":"pkg:hex/ash","source":"EEF-CVE-2026-86338"}],"prev":{"headline":"LXD Cross-Project Private Image Theft via Unsanitized GetImageFromAnyProject Local Reuse","id":"CVE-2026-86335"},"products":["ash"],"published":"2026-09-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-16","vendors":["ash-project"]},"summary":"Attackers can bypass field policies to read protected calculation and aggregate values via filter-based oracles in the Ash framework.","url":"https://insights.sbomify.com/CVE-2026-86338/"}