CVE-2026-66884
published low CVSS 4.0 · 2.1Oidcc.Plug.AuthorizationCallback accepts callbacks with no authorize session or no state parameter, defeating CSRF protection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Erlang Ecosystem Foundation | — | oidcc_plug0.2.0-beta.1 to < 0.5.0 · Other versions: unaffected | Affected | Not stated | EEF |
| Erlang Ecosystem Foundation | — | erlef/oidcc_plugoidcc_plug · e577ae73b9080693442916043a22d8f05491dd93 to < 97d75afc57826dca31989b47d6e2a3c136039917 · Other versions: unaffected | Affected | Not stated | EEF |
Description
Cross-Site Request Forgery vulnerability in Erlang Ecosystem Foundation oidcc_plug (Oidcc.Plug.AuthorizationCallback module) allows an attacker to make a victim's browser complete an authorization flow the victim never initiated. This vulnerability is associated with program file lib/oidcc/plug/authorization_callback.ex and program routine Oidcc.Plug.AuthorizationCallback.call/2. A callback request that carries no Oidcc.Plug.Authorize session is processed with every security check disabled rather than being rejected. call/2 substitutes permissive defaults for the absent session, and each downstream check treats its value as nothing to compare and returns :ok, so the nonce, state, PKCE, peer IP and user agent checks are all skipped. A separate clause of check_state/2 also accepts a state-less request when a verifier is present. An attacker obtains an authorization code for their own provider account, then induces the victim to visit the callback endpoint with that code and no state parameter. The application signs the victim in as the attacker, so the victim's subsequent actions occur in the attacker's account where the attacker can read them. Applications reusing one callback for both signing in and linking a provider account are further exposed to account takeover, the attacker's account becoming linked to the victim's. The permissive fallback serves no conforming flow. Third-party-initiated login reaches a relying party at a separate login initiation endpoint and causes it to send a fresh authentication request, and this library implements no such endpoint. Oidcc.Plug.Authorize always sends a state parameter, which an authorization server must echo, so no legitimate callback lacks one. This issue affects oidcc_plug: from 0.2.0-beta.1 before 0.5.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Erlang Ecosystem Foundation | oidcc_plug | 0.2.0-beta.1 to < 0.5.0 (affected · semver)Default: unaffected | EEF · cna |
| Erlang Ecosystem Foundation | oidcc_plug | e577ae73b9080693442916043a22d8f05491dd93 to < 97d75afc57826dca31989b47d6e2a3c136039917 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-352 CWE-352 Cross-Site Request Forgery
References
5- EEF CNA record for CVE-2026-66884 https://cna.erlef.org/cves/CVE-2026-66884.html
- Fix commit 97d75af in erlef/oidcc_plug https://github.com/erlef/oidcc_plug/commit/97d75afc57826dca31989b47d6e2a3c136039917
- Introducing commit e577ae7 in erlef/oidcc_plug https://github.com/erlef/oidcc_plug/commit/e577ae73b9080693442916043a22d8f05491dd93
- https://github.com/erlef/oidcc_plug/security/advisories/GHSA-fg66-w5gp-22cr
- OSV record EEF-CVE-2026-66884 https://osv.dev/vulnerability/EEF-CVE-2026-66884
Provider assertions
2EEF · cna
Oidcc.Plug.AuthorizationCallback accepts callbacks with no authorize session or no state parameter, defeating CSRF protection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3d4e3035868356f970ae102f5f0a739da9fcc9ec1d156438f6467f0e0af5b338
- Ingested
- 19 Nov 2026, 08:49:09 UTC
- Source record
- Official CVE record