CVE-2026-66883: Oidcc.Plug.Authorize user agent session binding inert due to case-sensitive header lookup

Published Aug 4, 2026
·
Updated

Improper Handling of Case Sensitivity vulnerability in Erlang Ecosystem Foundation oidccplug (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/authorizationcallback.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 getreqheader(conn, "User-Agent"). Plug lowercases incoming header names, but getreqheader/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 checkuseragent: 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 checkuseragent 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 oidccplug: from 0.1.0-alpha.3 before 0.5.0.

Affected Software

1 affected component
oidcc_plug>0.1.0-alpha.3<=0.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade oidcc_plug to a version that resolves this vulnerability.

    Fixed in 0.5.0
  2. Configuration

    Ensure deployments do not rely on User-Agent session binding as a defense-in-depth control until the oidcc_plug version is upgraded; this option can be ineffective due to case-sensitive header lookup in get_req_header(conn, "User-Agent").

    Oidcc.Plug.Authorize (Erlang) check_useragent = true

Event History

Aug 4, 2026
CVE Published
via MITRE·11:46 AM
Data Sourced
via MITRE·11:46 AM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-66883?

The severity of CVE-2026-66883 is rated at risk level 17.

2

How do I fix CVE-2026-66883?

To fix CVE-2026-66883, update to the patched version of the oidcc_plug module that addresses the case sensitivity handling.

3

What software is affected by CVE-2026-66883?

The affected software by CVE-2026-66883 is the oidcc_plug used in the Erlang ecosystem.

4

What issue does CVE-2026-66883 address?

CVE-2026-66883 addresses an improper handling of case sensitivity that affects user agent session binding.

5

What type of vulnerability is CVE-2026-66883 classified as?

CVE-2026-66883 is classified as a CSRF vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203