CVE-2026-66883
Last modified
CVE-2026-66883 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Erlang Ecosystem Foundation | oidcc_plug | >= 0.1.0-alpha.3, < 0.5.0 |
| Erlang Ecosystem Foundation | oidcc_plug | >= 0a75fb139d8e2686d1b75e0d48962323d2181673, < f15e52c5750aaba701104b10ed96cfac063bd557 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-66883?
How severe is CVE-2026-66883?
How do I fix CVE-2026-66883?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-6687FatFs R0.16 and earlier contains a stack overflow bug in f_g…7.6
- CVE-2026-66875In the Mira hormone monitor device firmware v1.7.1.47 build …8.8
- CVE-2026-66878A flaw was found in multicloud-operators-subscription. A pri…7.7
- CVE-2026-6688FatFs R0.16 and earlier contains a downstream-caller vulnera…7.6
- CVE-2026-66881Relative Path Traversal vulnerability in livebook-dev livebo…8.1
- CVE-2026-66882Improper Neutralization of Input During Web Page Generation …2.1
- CVE-2026-66884Cross-Site Request Forgery vulnerability in Erlang Ecosystem…2.1
- CVE-2026-66885Cross-Site Request Forgery (CSRF) vulnerability in livebook-…6.5
- CVE-2026-66887The affected products are missing authorization on state-cha…9.6
- CVE-2026-6689Mattermost versions 11.6.x <= 11.6.1, 11.5.x <= 11.5.4, 10.1…4.3
- CVE-2026-66890The affected products use hard-coded credentials, which coul…9.6
- CVE-2026-66897A path traversal vulnerability in LXD's instance template pr…9.9
Are you affected by CVE-2026-66883?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
