{"id":"CVE-2026-82724","sourceIdentifier":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","published":"2026-08-31T04:17:28.980","lastModified":"2026-11-19T09:18:06.573","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"Incorrect Authorization vulnerability in ash-project ash_phoenix invokes the SubdomainHook authorization callback with a nil tenant, so tenant-scoped access checks never see the tenant they are meant to enforce.\n\nAshPhoenix.LiveView.SubdomainHook.on_mount/4 attached a handle_params hook to assign the tenant and then immediately called handle_subdomain in the same on_mount. The tenant assign is only written when LiveView later runs handle_params, strictly after on_mount returns, so handle_subdomain read an unset assign and ran as apply(m, f, [socket, nil | a]). A consumer gate that halts when the user does not belong to the tenant instead evaluated nil, either crashing or taking a permissive branch, and it was never re-run once the real subdomain was assigned or on later navigations. The fix runs handle_subdomain inside the handle_params hook with the real tenant on every navigation.\n\nThis issue affects ash_phoenix: from 2.1.26 before 2.3.25."}],"affected":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","affectedData":[{"vendor":"ash-project","product":"ash_phoenix","defaultStatus":"unaffected","collectionURL":"https://repo.hex.pm","packageName":"ash_phoenix","cpes":["cpe:2.3:a:ash-project:ash_phoenix:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshPhoenix.LiveView.SubdomainHook'"],"programFiles":["lib/ash_phoenix/live_view/subdomain_hook.ex"],"programRoutines":[{"name":"'Elixir.AshPhoenix.LiveView.SubdomainHook':on_mount/4"}],"repo":"https://github.com/ash-project/ash_phoenix","packageURL":"pkg:hex/ash_phoenix","versions":[{"version":"2.1.26","lessThan":"2.3.25","versionType":"semver","status":"affected"}]},{"vendor":"ash-project","product":"ash_phoenix","defaultStatus":"unaffected","collectionURL":"https://github.com","packageName":"ash-project/ash_phoenix","cpes":["cpe:2.3:a:ash-project:ash_phoenix:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshPhoenix.LiveView.SubdomainHook'"],"programFiles":["lib/ash_phoenix/live_view/subdomain_hook.ex"],"programRoutines":[{"name":"'Elixir.AshPhoenix.LiveView.SubdomainHook':on_mount/4"}],"repo":"https://github.com/ash-project/ash_phoenix","packageURL":"pkg:github/ash-project/ash_phoenix","versions":[{"version":"9a5ea4d377bc263de321d79574872a3dfc4fb541","lessThan":"b396e1aa5c6bdec39255f19cf938b539e6d28b71","versionType":"git","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","cvssData":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/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","baseScore":7.6,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-08-31T15:53:54.952218Z","id":"CVE-2026-82724","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","description":[{"lang":"en","value":"CWE-863"}]}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-82724.html","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/ash-project/ash_phoenix/commit/9a5ea4d377bc263de321d79574872a3dfc4fb541","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/ash-project/ash_phoenix/commit/b396e1aa5c6bdec39255f19cf938b539e6d28b71","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/ash-project/ash_phoenix/security/advisories/GHSA-39c8-xcwr-gqff","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82724","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/ash-project/ash_phoenix/security/advisories/GHSA-39c8-xcwr-gqff","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}