Skip to main content
EPSS 0.7%top 49%

CVE-2026-82756: CWE-116 Improper Encoding or Escaping of Output in ash-project ash_authentication_oauth2_server

0
Medium
VulnerabilityCVE-2026-82756cvecve-2026-82756cwe-116
Published: 09/07/2026 (09/07/2026, 22:30:55 UTC)
Source: CVE Database V5
Vendor/Project: ash-project
Product: ash_authentication_oauth2_server

Description

CVE-2026-82756 is an improper encoding or escaping of output vulnerability in ash-project's ash_authentication_oauth2_server. It allows an unauthenticated attacker to inject arbitrary authentication parameters into the WWW-Authenticate challenge header by manipulating tenant data used in the header construction. This affects versions from 0.1.3 up to but not including 0.3.1. The vulnerability can cause clients to follow attacker-controlled authorization server URLs within the authentication challenge. The CVSS 4.0 score is 6.3, indicating medium severity.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

ash-project

ash_authentication_oauth2_server

Affected versions
>=0.1.3 <0.3.1

ash-project

ash_authentication_oauth2_server

ash_authentication_oauth2_server
pkg:hex/ash_authentication_oauth2_server
Affected versions
>=0.1.3 <0.3.1
GitHub Actionsmore threats →cve
ash-project/ash_authentication_oauth2_server
pkg:github/ash-project/ash_authentication_oauth2_server
CPE configurations
cpe:2.3:a:ash-project:ash_authentication_oauth2_server:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/15/2026, 01:04:44 UTC

Technical Analysis

The vulnerability arises because BearerPlug and RequireScopePlug interpolate a resource_metadata URL derived from the request tenant directly into a quoted value in the WWW-Authenticate challenge header without proper encoding or escaping. In multi-tenant setups where the tenant is set from request-controlled data (such as subdomains or headers), an attacker can craft a tenant value containing a quote character to close the quoted string and inject additional authentication parameters. This injection includes a second resource_metadata URL pointing to an attacker-controlled authorization server, which spec-following clients may trust. The vulnerability does not allow response splitting since carriage returns and line feeds are rejected by Plug. It affects ash_authentication_oauth2_server versions >=0.1.3 and <0.3.1.

Potential Impact

An unauthenticated attacker can inject arbitrary authentication parameters into the WWW-Authenticate header, potentially causing clients to follow malicious authorization server URLs. This can lead to authentication bypass or redirection to attacker-controlled servers in multi-tenant applications that use tenant data from untrusted sources. The impact is limited to the authentication challenge header manipulation and does not include response splitting or direct code execution.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch link is provided in the available data. Until a patch is available, avoid setting the Ash tenant from untrusted request-controlled data or ensure proper encoding and escaping of tenant values before including them in authentication headers.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-08-31T01:00:10.817Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a9f4039acd9273b4972ed9b

Added to database: 09/07/2026, 22:52:41 UTC

Last enriched: 09/15/2026, 01:04:44 UTC

Last updated: 10/09/2026, 18:48:23 UTC

Views: 83

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses