{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Ash.Policy.Authorizer'","'Elixir.Ash.Can'"],"packageName":"ash","packageURL":"pkg:hex/ash","product":"ash","programFiles":["lib/ash/policy/authorizer/authorizer.ex","lib/ash/can.ex"],"programRoutines":[{"name":"'Elixir.Ash.Policy.Authorizer':check_fact/2"},{"name":"'Elixir.Ash.Can':run_changeset_query/5"},{"name":"'Elixir.Ash.Can':run_queries/5"}],"repo":"https://github.com/ash-project/ash","vendor":"ash-project","versions":[{"lessThan":"3.39.0","status":"affected","version":"3.4.44","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Ash.Policy.Authorizer'","'Elixir.Ash.Can'"],"packageName":"ash-project/ash","packageURL":"pkg:github/ash-project/ash","product":"ash","programFiles":["lib/ash/policy/authorizer/authorizer.ex","lib/ash/can.ex"],"programRoutines":[{"name":"'Elixir.Ash.Policy.Authorizer':check_fact/2"},{"name":"'Elixir.Ash.Can':run_changeset_query/5"},{"name":"'Elixir.Ash.Can':run_queries/5"}],"repo":"https://github.com/ash-project/ash","vendor":"ash-project","versions":[{"lessThan":"58e4243ad474272a6ebb11be3bf8956dcda439ba","status":"affected","version":"f4a8ff53fd3b974468d73685cd3fc842ef893de3","versionType":"git"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Reachable when a policy uses a custom check whose <code>check/4</code> reads a record attribute (under <code>access_type :runtime</code>, or with a <code>strict_check/3</code> that returns <code>:unknown</code>), and either the caller can narrow the select of the read, as a GraphQL selection in AshGraphql, a sparse fieldset in AshJsonApi or <code>Ash.Query.select/2</code> does, or the check guards an update or destroy on a data layer that honors <code>select</code>, such as AshPostgres, from 3.33.0.</p>"},{"base64":false,"type":"text/markdown","value":"Reachable when a policy uses a custom check whose `check/4` reads a record attribute (under `access_type :runtime`, or with a `strict_check/3` that returns `:unknown`), and either the caller can narrow the select of the read, as a GraphQL selection in AshGraphql, a sparse fieldset in AshJsonApi or `Ash.Query.select/2` does, or the check guards an update or destroy on a data layer that honors `select`, such as AshPostgres, from 3.33.0."}],"value":"Reachable when a policy uses a custom check whose check/4 reads a record attribute (under access_type :runtime, or with a strict_check/3 that returns :unknown), and either the caller can narrow the select of the read, as a GraphQL selection in AshGraphql, a sparse fieldset in AshJsonApi or Ash.Query.select/2 does, or the check guards an update or destroy on a data layer that honors select, such as AshPostgres, from 3.33.0."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","versionEndExcluding":"3.39.0","versionStartIncluding":"3.4.44","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Glenn Rempe"},{"lang":"en","type":"reporter","value":"Glenn Rempe"},{"lang":"en","type":"remediation developer","value":"Glenn Rempe"},{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"}],"dateAssigned":"2026-12-03T01:30:36.000Z","datePublic":"2026-12-03T05:57:05.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Incorrect Authorization vulnerability in ash-project ash allows an actor to read, update and destroy records that a runtime policy check forbids.</p>\n<p>A policy check decided against the records (<code>check/4</code>) reads their attributes, but Ash did not always give it them. On a read that selected fewer attributes, <code>Ash.Policy.Authorizer</code> (<code>lib/ash/policy/authorizer/authorizer.ex</code>) passed the records with the other attributes as <code>%Ash.NotLoaded{}</code>, which is truthy. On an update or destroy, <code>Ash.Can</code> (<code>lib/ash/can.ex</code>) read the record again with an empty select, so on a data layer that honors <code>select</code> the check saw only the primary key and attribute defaults. A check that reads such an attribute decided on the placeholder or the default.</p>\n<p>This issue affects ash: from 3.4.44 before 3.39.0.</p>"},{"base64":false,"type":"text/markdown","value":"Incorrect Authorization vulnerability in ash-project ash allows an actor to read, update and destroy records that a runtime policy check forbids.\n\nA policy check decided against the records (`check/4`) reads their attributes, but Ash did not always give it them. On a read that selected fewer attributes, `Ash.Policy.Authorizer` (`lib/ash/policy/authorizer/authorizer.ex`) passed the records with the other attributes as `%Ash.NotLoaded{}`, which is truthy. On an update or destroy, `Ash.Can` (`lib/ash/can.ex`) read the record again with an empty select, so on a data layer that honors `select` the check saw only the primary key and attribute defaults. A check that reads such an attribute decided on the placeholder or the default.\n\nThis issue affects ash: from 3.4.44 before 3.39.0."}],"value":"Incorrect Authorization vulnerability in ash-project ash allows an actor to read, update and destroy records that a runtime policy check forbids.\n\nA policy check decided against the records (check/4) reads their attributes, but Ash did not always give it them. On a read that selected fewer attributes, Ash.Policy.Authorizer (lib/ash/policy/authorizer/authorizer.ex) passed the records with the other attributes as %Ash.NotLoaded{}, which is truthy. On an update or destroy, Ash.Can (lib/ash/can.ex) read the record again with an empty select, so on a data layer that honors select the check saw only the primary key and attribute defaults. A check that reads such an attribute decided on the placeholder or the default.\n\nThis issue affects ash: from 3.4.44 before 3.39.0."}],"impacts":[{"capecId":"CAPEC-1","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>A client that can narrow the attributes a read selects, such as through a GraphQL query, reads records a runtime policy check should hide; on a SQL data layer, an actor updates or destroys records the check should protect.</p>"},{"base64":false,"type":"text/markdown","value":"A client that can narrow the attributes a read selects, such as through a GraphQL query, reads records a runtime policy check should hide; on a SQL data layer, an actor updates or destroys records the check should protect."}],"value":"A client that can narrow the attributes a read selects, such as through a GraphQL query, reads records a runtime policy check should hide; on a SQL data layer, an actor updates or destroys records the check should protect."}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":7.4,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","description":"CWE-863 Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-03T05:57:08.579Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"name":"A runtime policy check in Ash decides on attributes it was not given, after a narrowed select or on an update or destroy","tags":["vendor-advisory","related"],"url":"https://github.com/ash-project/ash/security/advisories/GHSA-85xv-49qm-66hh"},{"name":"EEF CNA record for CVE-2026-135701","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-135701.html"},{"name":"OSV record EEF-CVE-2026-135701","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-135701"},{"name":"Introducing commit f4a8ff5 in ash-project/ash","tags":["related"],"url":"https://github.com/ash-project/ash/commit/f4a8ff53fd3b974468d73685cd3fc842ef893de3"},{"name":"Fix commit 58e4243 in ash-project/ash","tags":["patch"],"url":"https://github.com/ash-project/ash/commit/58e4243ad474272a6ebb11be3bf8956dcda439ba"}],"source":{"discovery":"EXTERNAL"},"title":"A runtime policy check in Ash decides on attributes it was not given, after a narrowed select or on an update or destroy","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Write the check as an <code>expr(...)</code> filter check, which reads the rows again itself and is not affected.</p>"},{"base64":false,"type":"text/markdown","value":"Write the check as an `expr(...)` filter check, which reads the rows again itself and is not affected."}],"value":"Write the check as an expr(...) filter check, which reads the rows again itself and is not affected."}]}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-135701","datePublished":"2026-12-03T05:57:08.579Z","dateReserved":"2026-12-03T01:30:09.997Z","dateUpdated":"2026-12-03T05:57:08.579Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}