6.3
MEDIUM CVSS 4.0
CVE-2026-66883
Oidcc.Plug.Authorize user agent session binding inert due to case-sensitive header lookup
Description

Improper Handling of Case Sensitivity vulnerability in Erlang Ecosystem Foundation oidcc_plug (Oidcc.Plug.Authorize module) renders the user agent session binding inert, removing a defense in depth control against replay of a stolen session. This vulnerability is associated with program files lib/oidcc/plug/authorize.ex and lib/oidcc/plug/authorization_callback.ex, and program routines Oidcc.Plug.Authorize.call/2 and Oidcc.Plug.AuthorizationCallback.call/2. Oidcc.Plug.Authorize.call/2 reads the initiating client's user agent with get_req_header(conn, "User-Agent"). Plug lowercases incoming header names, but get_req_header/2 matches the supplied key exactly and performs no normalization of its own, so the mixed-case lookup always returns an empty list and nil is written into the session. On the callback side, Oidcc.Plug.AuthorizationCallback treats a stored nil user agent as nothing to compare and returns :ok without inspecting the request. The two behaviours combine so that the check passes unconditionally on every request, including for deployments that explicitly opted in with check_useragent: true, and an authorization callback can be completed from a different user agent than the one that initiated the flow without detection. The check fails open silently, with no error and no log entry, so a deployment cannot tell the binding is absent. The impact is limited to defense in depth. The inert check does not by itself allow an attacker to complete an authorization flow; it removes one layer that would otherwise hinder use of a stolen or leaked session, such as an exfiltrated session cookie replayed from a different client. The CSRF/state, nonce, and PKCE checks are unaffected and continue to function. Deployments that never enabled check_useragent are not affected in practice, since they never expected the binding. The corresponding lookup in Oidcc.Plug.AuthorizationCallback correctly uses the lowercase key and is not affected. This issue affects oidcc_plug: from 0.1.0-alpha.3 before 0.5.0.

INFO

Published Date :

Aug. 4, 2026, 12:16 p.m.

Last Modified :

Aug. 4, 2026, 2:52 p.m.

Remotely Exploit :

Yes !

Source :

6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Affected Products

The following products are affected by CVE-2026-66883 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 4.0 MEDIUM 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
CVSS 4.0 MEDIUM 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Solution
Update oidcc_plug to a version that fixes case sensitivity issues in user agent checking.
  • Update oidcc_plug to version 0.5.0 or later.
  • Verify user agent checking is enabled and functioning.
  • Implement additional session binding checks.
  • Monitor logs for authentication anomalies.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-66883 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-66883 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-66883 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-66883 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Aug. 04, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/erlef/oidcc_plug/security/advisories/GHSA-w5r8-m75h-98fc
    Added SSVC {'id': 'CVE-2026-66883', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-08-04T12:27:16.535019Z'}
  • New CVE Received by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

    Aug. 04, 2026

    Action Type Old Value New Value
    Added Affected [{'cpes': ['cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:*'], 'repo': 'https://github.com/erlef/oidcc_plug', 'vendor': 'Erlang Ecosystem Foundation', 'modules': ['Elixir.Oidcc.Plug.Authorize', 'Elixir.Oidcc.Plug.AuthorizationCallback'], 'product': 'oidcc_plug', 'versions': [{'status': 'affected', 'version': '0.1.0-alpha.3', 'lessThan': '0.5.0', 'versionType': 'semver'}], 'packageURL': 'pkg:hex/oidcc_plug', 'packageName': 'oidcc_plug', 'programFiles': ['lib/oidcc/plug/authorize.ex', 'lib/oidcc/plug/authorization_callback.ex'], 'collectionURL': 'https://repo.hex.pm', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.Oidcc.Plug.Authorize':call/2"}, {'name': "'Elixir.Oidcc.Plug.AuthorizationCallback':call/2"}]}, {'cpes': ['cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:*'], 'repo': 'https://github.com/erlef/oidcc_plug', 'vendor': 'Erlang Ecosystem Foundation', 'modules': ['Elixir.Oidcc.Plug.Authorize', 'Elixir.Oidcc.Plug.AuthorizationCallback'], 'product': 'oidcc_plug', 'versions': [{'status': 'affected', 'version': '0a75fb139d8e2686d1b75e0d48962323d2181673', 'lessThan': 'f15e52c5750aaba701104b10ed96cfac063bd557', 'versionType': 'git'}], 'packageURL': 'pkg:github/erlef/oidcc_plug', 'packageName': 'erlef/oidcc_plug', 'programFiles': ['lib/oidcc/plug/authorize.ex', 'lib/oidcc/plug/authorization_callback.ex'], 'collectionURL': 'https://github.com', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.Oidcc.Plug.Authorize':call/2"}, {'name': "'Elixir.Oidcc.Plug.AuthorizationCallback':call/2"}]}]
    Added Description Improper Handling of Case Sensitivity vulnerability in Erlang Ecosystem Foundation oidcc_plug (Oidcc.Plug.Authorize module) renders the user agent session binding inert, removing a defense in depth control against replay of a stolen session. This vulnerability is associated with program files lib/oidcc/plug/authorize.ex and lib/oidcc/plug/authorization_callback.ex, and program routines Oidcc.Plug.Authorize.call/2 and Oidcc.Plug.AuthorizationCallback.call/2. Oidcc.Plug.Authorize.call/2 reads the initiating client's user agent with get_req_header(conn, "User-Agent"). Plug lowercases incoming header names, but get_req_header/2 matches the supplied key exactly and performs no normalization of its own, so the mixed-case lookup always returns an empty list and nil is written into the session. On the callback side, Oidcc.Plug.AuthorizationCallback treats a stored nil user agent as nothing to compare and returns :ok without inspecting the request. The two behaviours combine so that the check passes unconditionally on every request, including for deployments that explicitly opted in with check_useragent: true, and an authorization callback can be completed from a different user agent than the one that initiated the flow without detection. The check fails open silently, with no error and no log entry, so a deployment cannot tell the binding is absent. The impact is limited to defense in depth. The inert check does not by itself allow an attacker to complete an authorization flow; it removes one layer that would otherwise hinder use of a stolen or leaked session, such as an exfiltrated session cookie replayed from a different client. The CSRF/state, nonce, and PKCE checks are unaffected and continue to function. Deployments that never enabled check_useragent are not affected in practice, since they never expected the binding. The corresponding lookup in Oidcc.Plug.AuthorizationCallback correctly uses the lowercase key and is not affected. This issue affects oidcc_plug: from 0.1.0-alpha.3 before 0.5.0.
    Added CVSS V4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/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
    Added CWE CWE-178
    Added Reference https://cna.erlef.org/cves/CVE-2026-66883.html
    Added Reference https://github.com/erlef/oidcc_plug/commit/f15e52c5750aaba701104b10ed96cfac063bd557
    Added Reference https://github.com/erlef/oidcc_plug/security/advisories/GHSA-w5r8-m75h-98fc
    Added Reference https://osv.dev/vulnerability/EEF-CVE-2026-66883
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.