CVE-2026-82756
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. 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. This issue affects ash_authentication_oauth2_server: from 0.1.3 before 0.3.1.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 6.3
- CVSS 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
- EPSS probability
- 0.38%
- CWE
- CWE-116
- Published
- 2026-09-07
- Last modified
- 2026-09-08
Affected products
- ash-project ash_authentication_oauth2_server
- ash-project ash_authentication_oauth2_server
Weakness type
Related vulnerabilities
- CVE-2026-88921 — MISP: Unescaped HTML Injection in PDF Report Element Rendering
- CVE-2026-54694 — NationalSecurityAgency/skills-service has Stored XSS via User Registration Enabling Admin Account Takeover
- CVE-2026-79964 — Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions prior to...
- CVE-2026-79952 — Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions prior to...
- CVE-2026-87550 — Improper encoding or escaping of output in CSS in Google Chrome prior to 153.0.8010.36 allowed a...
- CVE-2026-69821 — Active Directory Certificate Services (AD CS) Elevation of Privilege Vulnerability
- CVE-2026-52772 — YesWiki: Bazar form-field templates still apply `|raw('html')` to `field.label` / `field.hint` in attribute and label-body contexts — stored XSS in form renders (sibling class of commit `e6b66aa`)
- CVE-2026-84292 — fast-uri vulnerable to authority injection via an unvalidated port in serialize