CVE-2026-66884

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

2.1 low EPSS 0.26%

Published 4 Aug 2026 Updated 2 Dec 2026 CNA: EEF

Check your servers for CVE-2026-66884

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-66884 affects oidcc_plug, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

2.1 low CVSS 4.0 from EEF (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:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Attack requirements
present: an attack works only when the target is in a certain state or configuration
Privileges required
none: the attacker does not need an account
User interaction
active: a user has to take a deliberate step, such as installing or running something
Impact on the vulnerable system
confidentiality low, integrity low, availability none: what an attacker can read, change or stop in the vulnerable component
Impact on other systems
confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it

Exploitation

EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 4 Aug 2026):

Exploitation
poc: a proof of concept is public
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

Affected products

As the CNA lists them.

ProductVersions
oidcc_plug
package oidcc_plug
affected from 0.2.0-beta.1, before 0.5.0
Other versions: unaffected
oidcc_plug
package erlef/oidcc_plug
affected from e577ae73b9080693442916043a22d8f05491dd93, before 97d75afc57826dca31989b47d6e2a3c136039917
Other versions: unaffected

Is my server affected?

Find the installed version of oidcc_plug and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i oidcc_plug
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-66884 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-66884

RHEL, Rocky, Alma, Fedora

rpm -q oidcc_plug
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-66884

Alpine

apk list --installed | grep -i oidcc_plug

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-66884
trivy image --scanners vuln IMAGE | grep CVE-2026-66884

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Patches and release notes

Exploits and proof of concept

Other references

Source: the record CVE-2026-66884 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.