{"id":"CVE-2026-82756","sourceIdentifier":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","published":"2026-09-07T23:16:52.770","lastModified":"2026-11-19T09:18:12.280","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"Improper Encoding or Escaping of Output vulnerability in ash-project ash_authentication_oauth2_server allows an unauthenticated attacker to inject arbitrary authentication parameters into the WWW-Authenticate challenge header.\n\nBearerPlug and RequireScopePlug built the Bearer resource_metadata=\"...\" challenge by interpolating a resource_metadata URL derived from the request tenant directly into the quoted value. In a multi-tenant application that sets the Ash tenant from request-controlled data (a subdomain, the Host, a path segment, or a header), a tenant containing a \" closes the quoted value and appends attacker-chosen auth-params, including a second resource_metadata URL pointing at an attacker-controlled authorization server that spec-following clients follow. Carriage returns and line feeds are rejected by Plug, so this is parameter injection within one header, not response splitting.\n\nThis issue affects ash_authentication_oauth2_server: from 0.1.3 before 0.3.1."}],"affected":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","affectedData":[{"vendor":"ash-project","product":"ash_authentication_oauth2_server","defaultStatus":"unaffected","collectionURL":"https://repo.hex.pm","packageName":"ash_authentication_oauth2_server","cpes":["cpe:2.3:a:ash-project:ash_authentication_oauth2_server:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAuthentication.Phoenix.Oauth2Server.BearerPlug'","'Elixir.AshAuthentication.Phoenix.Oauth2Server.RequireScopePlug'"],"programFiles":["lib/ash_authentication_phoenix/oauth2_server/bearer_plug.ex","lib/ash_authentication_phoenix/oauth2_server/require_scope_plug.ex"],"programRoutines":[{"name":"'Elixir.AshAuthentication.Phoenix.Oauth2Server.BearerPlug':call/2"},{"name":"'Elixir.AshAuthentication.Phoenix.Oauth2Server.RequireScopePlug':call/2"}],"repo":"https://github.com/ash-project/ash_authentication_oauth2_server","packageURL":"pkg:hex/ash_authentication_oauth2_server","versions":[{"version":"0.1.3","lessThan":"0.3.1","versionType":"semver","status":"affected"}]},{"vendor":"ash-project","product":"ash_authentication_oauth2_server","defaultStatus":"unaffected","collectionURL":"https://github.com","packageName":"ash-project/ash_authentication_oauth2_server","cpes":["cpe:2.3:a:ash-project:ash_authentication_oauth2_server:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshAuthentication.Phoenix.Oauth2Server.BearerPlug'","'Elixir.AshAuthentication.Phoenix.Oauth2Server.RequireScopePlug'"],"programFiles":["lib/ash_authentication_phoenix/oauth2_server/bearer_plug.ex","lib/ash_authentication_phoenix/oauth2_server/require_scope_plug.ex"],"programRoutines":[{"name":"'Elixir.AshAuthentication.Phoenix.Oauth2Server.BearerPlug':call/2"},{"name":"'Elixir.AshAuthentication.Phoenix.Oauth2Server.RequireScopePlug':call/2"}],"repo":"https://github.com/ash-project/ash_authentication_oauth2_server","packageURL":"pkg:github/ash-project/ash_authentication_oauth2_server","versions":[{"version":"99de0a1cacb5ef667c4533278b7c81ca98c00231","lessThan":"09f97476715da031b136eaec7b2cda2363ad8149","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:N/VI:L/VA:N/SC:L/SI:L/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":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","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-09-08T14:43:23.093058Z","id":"CVE-2026-82756","options":[{"exploitation":"none"},{"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-116"}]}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-82756.html","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/ash-project/ash_authentication_oauth2_server/commit/09f97476715da031b136eaec7b2cda2363ad8149","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/ash-project/ash_authentication_oauth2_server/commit/99de0a1cacb5ef667c4533278b7c81ca98c00231","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/ash-project/ash_authentication_oauth2_server/security/advisories/GHSA-2h3v-83jg-2qmm","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82756","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"}]}