Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-66884

LOW 2.1EPSS 16%

Oidcc.Plug.AuthorizationCallback accepts callbacks with no authorize session or no state parameter, defeating CSRF protection

Mitigation

  • Upgrade oidcc_plug to 0.5.0 or later.
  • Upgrade oidcc_plug to 97d75afc57826dca31989b47d6e2a3c136039917 or later.
  • Vendor workaround: Insert a plug before Oidcc.Plug.AuthorizationCallback that rejects the request when either the Oidcc.Plug.Authorize session or the state query parameter is missing. This restores the binding the callback fails to enforce and does not require modifying the library.

Who should check

  • Anyone running Erlang Ecosystem Foundation oidcc_plug >= 0.2.0-beta.1, < 0.5.0
  • Anyone running Erlang Ecosystem Foundation oidcc_plug >= e577ae73b9080693442916043a22d8f05491dd93, < 97d75afc57826dca31989b47d6e2a3c136039917

Vulnerability facts

Affected
Erlang Ecosystem Foundation oidcc_plug >= 0.2.0-beta.1, < 0.5.0; Erlang Ecosystem Foundation oidcc_plug >= e577ae73b9080693442916043a22d8f05491dd93, < 97d75afc57826dca31989b47d6e2a3c136039917
Fixed in
Erlang Ecosystem Foundation oidcc_plug 0.5.0, Erlang Ecosystem Foundation oidcc_plug 97d75afc57826dca31989b47d6e2a3c136039917
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
2.1 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: Active
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
CWE
CWE-352
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Erlang Ecosystem Foundation oidcc_plug>= 0.2.0-beta.1, < 0.5.0—cvelist
Erlang Ecosystem Foundation oidcc_plug>= e577ae73b9080693442916043a22d8f05491dd93, < 97d75afc57826dca31989b47d6e2a3c136039917—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2026-66884.md
Affected: Erlang Ecosystem Foundation oidcc_plug >= 0.2.0-beta.1, < 0.5.0; Erlang Ecosystem Foundation oidcc_plug >= e577ae73b9080693442916043a22d8f05491dd93, < 97d75afc57826dca31989b47d6e2a3c136039917
Fixed in: Erlang Ecosystem Foundation oidcc_plug 0.5.0, Erlang Ecosystem Foundation oidcc_plug 97d75afc57826dca31989b47d6e2a3c136039917

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.

References

FAQ

Is CVE-2026-66884 being exploited?

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

How serious is CVE-2026-66884?

Low: CVSS 2.1 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-66884?

Erlang Ecosystem Foundation oidcc_plug >= 0.2.0-beta.1, < 0.5.0; Erlang Ecosystem Foundation oidcc_plug >= e577ae73b9080693442916043a22d8f05491dd93, < 97d75afc57826dca31989b47d6e2a3c136039917.

Is there a fix for CVE-2026-66884?

Yes. Fixed in Erlang Ecosystem Foundation oidcc_plug 0.5.0, Erlang Ecosystem Foundation oidcc_plug 97d75afc57826dca31989b47d6e2a3c136039917. Upgrade oidcc_plug to 0.5.0 or later. Upgrade oidcc_plug to 97d75afc57826dca31989b47d6e2a3c136039917 or later. Vendor workaround: Insert a plug before Oidcc.Plug.AuthorizationCallback that rejects the request when either the Oidcc.Plug.Authorize session or the state query parameter is missing. This restores the binding the callback fails to enforce and does not require modifying the library.

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

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.

Sponsors