{"id":"CVE-2026-82726","sourceIdentifier":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","published":"2026-08-31T04:17:29.357","lastModified":"2026-11-19T09:18:06.940","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"Permissive Regular Expression vulnerability in ash-project ash_phoenix lets a remote client select the tenant an Ash application uses, or degrade the request, by sending a crafted Host header.\n\nAshPhoenix.Helpers.get_subdomain/2 stripped the root domain with String.replace(host, ~r/.?#{root_host}/, \"\"). The root host was interpolated raw, so each . became a wildcard and any metacharacter a pattern, and the replace was global and unanchored, so a match was removed from anywhere in the string. With root_host example.com, Host: foo.exampleXcom.attacker.net returned the tenant foo.attacker.net. A metacharacter-bearing or nil root host degraded the pattern or raised on every request. The comparison was also case-sensitive, so TENANT.EXAMPLE.COM and EXAMPLE.COM slipped past the root-host allowlist. conn.host comes from the client Host header. The fix matches the root host case-insensitively and only as an exact trailing suffix.\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.Helpers'"],"programFiles":["lib/ash_phoenix/helpers.ex"],"programRoutines":[{"name":"'Elixir.AshPhoenix.Helpers':get_subdomain/2"}],"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.Helpers'"],"programFiles":["lib/ash_phoenix/helpers.ex"],"programRoutines":[{"name":"'Elixir.AshPhoenix.Helpers':get_subdomain/2"}],"repo":"https://github.com/ash-project/ash_phoenix","packageURL":"pkg:github/ash-project/ash_phoenix","versions":[{"version":"9a5ea4d377bc263de321d79574872a3dfc4fb541","lessThan":"8306f29e77526840c89f3cd244996ce7c0fa2cda","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:N/UI:N/VC:L/VI:L/VA:L/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":6.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"LOW","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-31T14:47:10.055608Z","id":"CVE-2026-82726","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","description":[{"lang":"en","value":"CWE-178"},{"lang":"en","value":"CWE-625"}]}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-82726.html","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/ash-project/ash_phoenix/commit/8306f29e77526840c89f3cd244996ce7c0fa2cda","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/security/advisories/GHSA-rpf8-q9jh-qxrr","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82726","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/ash-project/ash_phoenix/security/advisories/GHSA-rpf8-q9jh-qxrr","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}