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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.44% (percentile 30, 2026-11-26)
- **CWE:** CWE-178
- **Published:** 2026-08-04T11:46:05.191Z
- **Modified:** 2026-11-19T09:17:51.453Z

## Who should check

- Anyone running Erlang Ecosystem Foundation oidcc\_plug \>= 0.1.0-alpha.3, \< 0.5.0
- Anyone running Erlang Ecosystem Foundation oidcc\_plug \>= 0a75fb139d8e2686d1b75e0d48962323d2181673, \< f15e52c5750aaba701104b10ed96cfac063bd557

## 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.

## Affected and fixed versions

- Erlang Ecosystem Foundation oidcc\_plug: \>= 0.1.0-alpha.3, \< 0.5.0 (cvelist)
- Erlang Ecosystem Foundation oidcc\_plug: \>= 0a75fb139d8e2686d1b75e0d48962323d2181673, \< f15e52c5750aaba701104b10ed96cfac063bd557 (cvelist)

## Mitigation

- Upgrade oidcc\_plug to 0.5.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-66883. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-66883.md
Affected: Erlang Ecosystem Foundation oidcc_plug >= 0.1.0-alpha.3, < 0.5.0; Erlang Ecosystem Foundation oidcc_plug >= 0a75fb139d8e2686d1b75e0d48962323d2181673, < f15e52c5750aaba701104b10ed96cfac063bd557
Fixed in: Erlang Ecosystem Foundation oidcc_plug 0.5.0

Steps:
1. Search this machine and project for Erlang Ecosystem Foundation oidcc_plug: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-66883 being exploited?

There is no confirmed exploitation: CVE-2026-66883 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-66883?

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-66883?

Erlang Ecosystem Foundation oidcc\_plug \>= 0.1.0-alpha.3, \< 0.5.0; Erlang Ecosystem Foundation oidcc\_plug \>= 0a75fb139d8e2686d1b75e0d48962323d2181673, \< f15e52c5750aaba701104b10ed96cfac063bd557.

### Is there a fix for CVE-2026-66883?

Yes. Fixed in Erlang Ecosystem Foundation oidcc\_plug 0.5.0. Upgrade oidcc\_plug to 0.5.0 or later.

### How do I check if I'm affected by CVE-2026-66883?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/erlef/oidcc_plug/security/advisories/GHSA-w5r8-m75h-98fc>
- patch: <https://github.com/erlef/oidcc_plug/commit/0a75fb139d8e2686d1b75e0d48962323d2181673>
- patch: <https://github.com/erlef/oidcc_plug/commit/f15e52c5750aaba701104b10ed96cfac063bd557>
- other: <https://cna.erlef.org/cves/CVE-2026-66883.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-66883>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-66883>

HTML: <https://flawdb.com/CVE-2026-66883> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-66883>
