2.1
LOW CVSS 4.0
CVE-2026-66884
Oidcc.Plug.AuthorizationCallback accepts callbacks with no authorize session or no state parameter, defeating CSRF protection
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.

INFO

Published Date :

Aug. 4, 2026, 12:16 p.m.

Last Modified :

Oct. 23, 2026, 11:10 p.m.

Remotely Exploit :

Yes !

Source :

6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Affected Products

The following products are affected by CVE-2026-66884 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Erlef oidcc_plug
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 4.0 LOW 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
CVSS 4.0 LOW 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Solution
Update oidcc_plug to version 0.5.0 or later to fix CSRF vulnerability.
  • Update oidcc_plug to version 0.5.0 or later.
  • Apply vendor-released patches for security.
  • Validate session handling and security checks.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-66884 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-66884 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-66884 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-66884 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Oct. 23, 2026

    Action Type Old Value New Value
    Added Translation Title: oidcc_plug de Erlang Ecosystem Foundation, Description: Vulnerabilidad de falsificación de petición en sitios cruzados en Erlang Ecosystem Foundation oidcc_plug (módulo Oidcc.Plug.AuthorizationCallback) permite a un atacante hacer que el navegador de una víctima complete un flujo de autorización que la víctima nunca inició. Esta vulnerabilidad está asociada con el archivo de programa lib/oidcc/plug/authorization_callback.ex y la rutina de programa Oidcc.Plug.AuthorizationCallback.call/2. Una petición de devolución de llamada que no lleva ninguna sesión de Oidcc.Plug.Authorize se procesa con todas las verificaciones de seguridad deshabilitadas en lugar de ser rechazada. call/2 sustituye valores predeterminados permisivos para la sesión ausente, y cada verificación posterior trata su valor como nada que comparar y devuelve :ok, por lo que las verificaciones de nonce, estado, PKCE, IP del par y agente de usuario son todas omitidas. Una cláusula separada de check_state/2 también acepta una petición sin estado cuando un verificador está presente. Un atacante obtiene un código de autorización para su propia cuenta de proveedor, luego induce a la víctima a visitar el punto final de devolución de llamada con ese código y sin parámetro de estado. La aplicación inicia la sesión de la víctima como el atacante, por lo que las acciones posteriores de la víctima ocurren en la cuenta del atacante donde el atacante puede leerlas. Las aplicaciones que reutilizan una devolución de llamada tanto para iniciar sesión como para vincular una cuenta de proveedor están aún más expuestas a la toma de control de cuenta, quedando la cuenta del atacante vinculada a la víctima. La alternativa permisiva no sirve a ningún flujo conforme. El inicio de sesión iniciado por terceros llega a una parte confiable en un punto final de inicio de sesión separado y hace que envíe una nueva petición de autenticación, y esta biblioteca no implementa tal punto final. Oidcc.Plug.Authorize siempre envía un parámetro de estado, que un servidor de autorización debe hacer eco, por lo que ninguna devolución de llamada legítima carece de uno. Este problema afecta a oidcc_plug: desde 0.2.0-beta.1 antes de 0.5.0.
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Aug. 04, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/erlef/oidcc_plug/security/advisories/GHSA-fg66-w5gp-22cr
    Added SSVC {'id': 'CVE-2026-66884', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-08-04T12:37:09.321822Z'}
  • New CVE Received by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

    Aug. 04, 2026

    Action Type Old Value New Value
    Added Affected [{'cpes': ['cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:*'], 'repo': 'https://github.com/erlef/oidcc_plug', 'vendor': 'Erlang Ecosystem Foundation', 'modules': ['Elixir.Oidcc.Plug.AuthorizationCallback'], 'product': 'oidcc_plug', 'versions': [{'status': 'affected', 'version': '0.2.0-beta.1', 'lessThan': '0.5.0', 'versionType': 'semver'}], 'packageURL': 'pkg:hex/oidcc_plug', 'packageName': 'oidcc_plug', 'programFiles': ['lib/oidcc/plug/authorization_callback.ex'], 'collectionURL': 'https://repo.hex.pm', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.Oidcc.Plug.AuthorizationCallback':call/2"}]}, {'cpes': ['cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:*'], 'repo': 'https://github.com/erlef/oidcc_plug', 'vendor': 'Erlang Ecosystem Foundation', 'modules': ['Elixir.Oidcc.Plug.AuthorizationCallback'], 'product': 'oidcc_plug', 'versions': [{'status': 'affected', 'version': 'e577ae73b9080693442916043a22d8f05491dd93', 'lessThan': '97d75afc57826dca31989b47d6e2a3c136039917', 'versionType': 'git'}], 'packageURL': 'pkg:github/erlef/oidcc_plug', 'packageName': 'erlef/oidcc_plug', 'programFiles': ['lib/oidcc/plug/authorization_callback.ex'], 'collectionURL': 'https://github.com', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.Oidcc.Plug.AuthorizationCallback':call/2"}]}]
    Added 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.
    Added CVSS V4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-352
    Added Reference https://cna.erlef.org/cves/CVE-2026-66884.html
    Added Reference https://github.com/erlef/oidcc_plug/commit/97d75afc57826dca31989b47d6e2a3c136039917
    Added Reference https://github.com/erlef/oidcc_plug/security/advisories/GHSA-fg66-w5gp-22cr
    Added Reference https://osv.dev/vulnerability/EEF-CVE-2026-66884
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.