Intel

AIKIDO-2026-36662

oidcc_plug is vulnerable to Cross-Site Request Forgery (CSRF)

Cross-Site Request Forgery (CSRF)CVE-2026-66884 Published Yesterday

21

Low Risk

This Affects:

ELIXIRoidcc_plug
0.2.0 - 0.4.0
Fixed in 0.5.0
Are you affected? Scan for Free

TL;DR

Oidcc.Plug.AuthorizationCallback processes an OIDC authorization callback even when no Oidcc.Plug.Authorize session is present on the request. Instead of rejecting the request, it substitutes permissive placeholder values so the nonce, state, PKCE, peer IP, and user agent checks all pass with nothing to compare against, so a callback that carries a valid authorization code but no session is accepted. The fix rejects callbacks that lack an authorization session or a state parameter.

Who does this affect?

You are affected if you run a version in the vulnerable range with Oidcc.Plug.AuthorizationCallback in its default configuration, your OIDC provider does not enforce PKCE.

Background info

oidcc_plug is vulnerable to Cross-Site Request Forgery (CSRF) in versions 0.2.0 - 0.4.0.

How to fix this

Upgrade the oidcc_plug library to the patch version.