{"id":"CVE-2026-82756","aliases":["EEF-CVE-2026-82756","GHSA-2h3v-83jg-2qmm"],"title":"ash_authentication_oauth2_server interpolates a tenant-derived value into the WWW-Authenticate challenge without escaping, allowing header parameter injection","titleSource":"EEF","descriptionSource":"OSV","description":"## Summary\n\nImproper 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\n`BearerPlug` 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.\n\n## Configurations\n\nReachable only in a multi-tenant application that derives the Ash tenant from request-controlled input (subdomain, `Host`, path, or header) and uses `BearerPlug` or `RequireScopePlug`; the tenant reaches the challenge through the server's tenant-aware `resource_url`.","severity":"medium","score":6.3,"published":"2026-09-07T22:30:55.280Z","modified":"2026-11-25T06:30:09.277Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"ash_authentication_oauth2_server","sources":[{"name":"OSV · EEF-CVE-2026-82756","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82756"}],"ranges":[{"events":[{"introduced":"0.1.3"},{"fixed":"0.3.1"}],"type":"SEMVER"}],"versions":["0.1.3","0.2.0","0.2.1","0.2.2","0.3.0"],"fixed":["0.3.1"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"99de0a1cacb5ef667c4533278b7c81ca98c00231"},{"fixed":"09f97476715da031b136eaec7b2cda2363ad8149"}],"type":"GIT","repo":"https://github.com/ash-project/ash_authentication_oauth2_server"}],"versions":["v0.3.0","v0.2.2","v0.2.1","v0.2.0","v0.1.3"]}],"references":["https://github.com/ash-project/ash_authentication_oauth2_server/security/advisories/GHSA-2h3v-83jg-2qmm","https://cna.erlef.org/cves/CVE-2026-82756.html","https://osv.dev/vulnerability/EEF-CVE-2026-82756","https://github.com/ash-project/ash_authentication_oauth2_server/commit/99de0a1cacb5ef667c4533278b7c81ca98c00231","https://github.com/ash-project/ash_authentication_oauth2_server/commit/09f97476715da031b136eaec7b2cda2363ad8149","https://hex.pm/packages/ash_authentication_oauth2_server"],"sources":[{"name":"CVE","id":"CVE-2026-82756","modified":"2026-11-19T08:34:00.511Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-82756"},{"name":"OSV","id":"EEF-CVE-2026-82756","modified":"2026-11-25T06:30:09.277988888Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82756"}],"assessments":[{"source":"EEF","vector":"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","score":6.3},{"source":"OSV","vector":"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","score":6.3}],"cve":{"records":[{"id":"CVE-2026-82756","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-08-31T01:00:10.817Z","published":"2026-09-07T22:30:55.280Z","modified":"2026-11-19T08:34:00.511Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-19T08:34:00.511Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-09-08T14:43:33.571Z"}],"references":[{"url":"https://github.com/ash-project/ash_authentication_oauth2_server/security/advisories/GHSA-2h3v-83jg-2qmm","tags":["vendor-advisory","related"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2026-82756.html","tags":["related"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82756","tags":["related"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_authentication_oauth2_server/commit/99de0a1cacb5ef667c4533278b7c81ca98c00231","tags":["related"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_authentication_oauth2_server/commit/09f97476715da031b136eaec7b2cda2363ad8149","tags":["patch"],"source":"EEF"}],"weaknesses":[{"id":"CWE-116","description":"CWE-116 Improper Encoding or Escaping of Output","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash_authentication_oauth2_server:*:*:*:*:*:*:*:*","versionEndExcluding":"0.3.1","versionStartIncluding":"0.1.3","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-09-08T14:43:23.093058Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"ash-project","name":"ash_authentication_oauth2_server","platforms":[],"versions":[{"version":"0.1.3","status":"affected","lessThan":"0.3.1","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/ash_authentication_oauth2_server","packageIdentity":{"ecosystem":"Hex","name":"ash_authentication_oauth2_server"},"cpes":["cpe:2.3:a:ash-project:ash_authentication_oauth2_server:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-82756"},{"vendor":"ash-project","name":"ash_authentication_oauth2_server","platforms":[],"versions":[{"version":"99de0a1cacb5ef667c4533278b7c81ca98c00231","status":"affected","lessThan":"09f97476715da031b136eaec7b2cda2363ad8149","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/ash-project/ash_authentication_oauth2_server","cpes":["cpe:2.3:a:ash-project:ash_authentication_oauth2_server:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-82756"}],"remediation":[],"observedAt":"2026-11-25T07:54:36.067Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T23:20:32.105Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-19T09:35:30.533Z","attemptedAt":"2026-11-19T09:35:30.533Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-19T09:35:31.446Z","attemptedAt":"2026-11-19T09:35:31.446Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-19T09:35:31.448Z","attemptedAt":"2026-11-19T09:35:31.448Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-19T09:35:31.446Z","attemptedAt":"2026-11-19T09:35:31.446Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-82756","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82756","modified":"2026-11-19T09:18:12.280","score":6.3,"vector":"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","checkedAt":"2026-11-19T09:35:30.533Z"},{"source":"FIRST EPSS","id":"CVE-2026-82756","url":"https://www.first.org/epss/","probability":0.0068,"percentile":0.5311,"date":"2026-11-18","checkedAt":"2026-11-19T09:35:31.446Z"},{"source":"ENISA EUVD","id":"EUVD-2026-72538","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-72538","modified":"Sep 8, 2026, 2:43:33 PM","score":6.3,"vector":"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","checkedAt":"2026-11-19T09:35:31.448Z"}],"aiSummary":{"text":"The ash_authentication_oauth2_server is vulnerable to header parameter injection due to improper encoding or escaping of output. This affects versions from 0.1.3 before 0.3.1 in multi-tenant applications where the Ash tenant is derived from request-controlled input. An unauthenticated attacker can inject arbitrary authentication parameters into the WWW-Authenticate challenge header.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-19T09:01:07.554Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-82756"},{"name":"OSV","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82756"}]}}