Skip to main content
VulnerabilityPublished

CVE-2026-66883: Erlang Ecosystem Foundation oidcc_plug · Improper Handling of Case Sensitivity

Affects Erlang Ecosystem Foundation oidcc_plugSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.3 Medium : upgrade to 0.5.0 when convenient.

Data as of 2 Nov 2026, 22:58 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.5.0, f15e52c5750aaba701104b10ed96cfac063bd557
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Nov 2026.

What to do

Upgrade oidcc_plug to 0.5.0; oidcc_plug to f15e52c5750aaba701104b10ed96cfac063bd557.

Affected software

ProductAffectedFixed in
Erlang Ecosystem Foundationoidcc_plugAffected
  • >=0.1.0-alpha.3 <0.5.0
Fixed in
  • 0.5.0
Erlang Ecosystem Foundationoidcc_plugAffected
  • ≥ 0a75fb139d8e2686d1b75e0d48962323d2181673, < f15e52c5750aaba701104b10ed96cfac063bd557
Fixed in
  • f15e52c5750aaba701104b10ed96cfac063bd557
Hexoidcc_plugpkg:hex/oidcc_plugOther threatsAffected
  • >=0.1.0-alpha.3 <0.5.0
Fixed in
  • 0.5.0

CPE configurations (1)

  • cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:*

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, deployments should be aware that enabling check_useragent does not provide the intended protection. No additional mitigation steps are indicated by the vendor advisory.

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.

References

Community reviews

Loading reviews…