CVE-2026-66884: CWE-352 Cross-Site Request Forgery (CSRF) in Erlang Ecosystem Foundation oidcc_plug
CVE-2026-66884 is a Cross-Site Request Forgery (CSRF) vulnerability in the Erlang Ecosystem Foundation's oidcc_plug library, specifically in the Oidcc.Plug.AuthorizationCallback module. The vulnerability allows an attacker to trick a victim's browser into completing an authorization flow the victim never initiated, potentially signing the victim into the attacker's account. This occurs because the callback endpoint processes requests without a valid session and disables security checks such as nonce, state, PKCE, peer IP, and user agent verification. The issue affects version 0.2.0-beta.1 before 0.5.0 of oidcc_plug. The CVSS 4.0 score is 2.1, indicating low severity.
AI Analysis
Technical Summary
The vulnerability in oidcc_plug arises from the AuthorizationCallback module's handling of callback requests that lack an Oidcc.Plug.Authorize session. Instead of rejecting such requests, the call/2 function applies permissive defaults, causing all downstream security checks to be skipped. An attacker can obtain an authorization code for their own account and induce a victim to visit the callback endpoint with that code but no state parameter. Because the application does not verify the state or other security parameters, it signs the victim into the attacker's account. This can lead to session confusion and potential account takeover, especially in applications that use the same callback for both sign-in and account linking. The vulnerability affects oidcc_plug versions from 0.2.0-beta.1 up to but not including 0.5.0. No official patch or remediation level is provided in the advisory.
Potential Impact
An attacker can cause a victim's browser to complete an authorization flow the victim did not initiate, resulting in the victim being signed into the attacker's account. This can lead to session confusion where the victim's actions are performed under the attacker's identity. In scenarios where the callback endpoint is used for both sign-in and linking provider accounts, this vulnerability could enable account takeover by linking the attacker's account to the victim's. The overall impact is limited by the low CVSS score of 2.1, indicating low severity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch is indicated, users of oidcc_plug should monitor the Erlang Ecosystem Foundation's advisories for updates. As a temporary measure, applications should ensure that callback requests without valid sessions or missing state parameters are rejected rather than processed with permissive defaults. Implementing strict validation of the state parameter and other security checks in the authorization callback flow can mitigate exploitation.
CVE-2026-66884: CWE-352 Cross-Site Request Forgery (CSRF) in Erlang Ecosystem Foundation oidcc_plug
Description
CVE-2026-66884 is a Cross-Site Request Forgery (CSRF) vulnerability in the Erlang Ecosystem Foundation's oidcc_plug library, specifically in the Oidcc.Plug.AuthorizationCallback module. The vulnerability allows an attacker to trick a victim's browser into completing an authorization flow the victim never initiated, potentially signing the victim into the attacker's account. This occurs because the callback endpoint processes requests without a valid session and disables security checks such as nonce, state, PKCE, peer IP, and user agent verification. The issue affects version 0.2.0-beta.1 before 0.5.0 of oidcc_plug. The CVSS 4.0 score is 2.1, indicating low severity.
CVSS v4.0
Score 2.1low
Affected software
cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in oidcc_plug arises from the AuthorizationCallback module's handling of callback requests that lack an Oidcc.Plug.Authorize session. Instead of rejecting such requests, the call/2 function applies permissive defaults, causing all downstream security checks to be skipped. An attacker can obtain an authorization code for their own account and induce a victim to visit the callback endpoint with that code but no state parameter. Because the application does not verify the state or other security parameters, it signs the victim into the attacker's account. This can lead to session confusion and potential account takeover, especially in applications that use the same callback for both sign-in and account linking. The vulnerability affects oidcc_plug versions from 0.2.0-beta.1 up to but not including 0.5.0. No official patch or remediation level is provided in the advisory.
Potential Impact
An attacker can cause a victim's browser to complete an authorization flow the victim did not initiate, resulting in the victim being signed into the attacker's account. This can lead to session confusion where the victim's actions are performed under the attacker's identity. In scenarios where the callback endpoint is used for both sign-in and linking provider accounts, this vulnerability could enable account takeover by linking the attacker's account to the victim's. The overall impact is limited by the low CVSS score of 2.1, indicating low severity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch is indicated, users of oidcc_plug should monitor the Erlang Ecosystem Foundation's advisories for updates. As a temporary measure, applications should ensure that callback requests without valid sessions or missing state parameters are rejected rather than processed with permissive defaults. Implementing strict validation of the state parameter and other security checks in the authorization callback flow can mitigate exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-07-28T04:15:10.240Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a71d525bf32cb7a343fb0f0
Added to database: 08/04/2026, 12:03:49 UTC
Last enriched: 08/04/2026, 12:24:43 UTC
Last updated: 08/04/2026, 12:38:24 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.