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 flaw allows an attacker to trick a victim's browser into completing an authorization flow that the victim did not initiate, potentially signing the victim into the attacker's account. This occurs because the callback endpoint processes requests without a valid session by disabling security checks, including nonce, state, PKCE, peer IP, and user agent validations. The vulnerability affects versions from 0.2.0-beta.1 before 0.5.0 of oidcc_plug.
AI Analysis
Technical Summary
The vulnerability in oidcc_plug arises from the Oidcc.Plug.AuthorizationCallback.call/2 function, which processes callback requests lacking an Oidcc.Plug.Authorize session by substituting permissive defaults and skipping critical security checks. An attacker can obtain an authorization code for their own account and induce a victim to visit the callback endpoint with that code but without the required state parameter. Because the application does not reject such requests and disables security validations, the victim is signed into the attacker's account. This can lead to the victim's actions being performed under the attacker's identity and, in cases where the same callback is used for sign-in and account linking, may result in account takeover. Legitimate flows always include a state parameter, so the permissive fallback serves no conforming flow. The issue affects oidcc_plug versions from 0.2.0-beta.1 up to but not including 0.5.0.
Potential Impact
The vulnerability allows an attacker to 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 unauthorized access to the victim's actions under the attacker's identity. Additionally, if the application uses the same callback for both signing in and linking provider accounts, the attacker can link their account to the victim's, potentially leading to account takeover. The CVSS 4.0 score is low (2.1), reflecting limited impact and the requirement for user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Users of oidcc_plug should monitor the Erlang Ecosystem Foundation's advisories for updates. Until a fix is available, applications should ensure that callback requests without a valid session or missing state parameters are rejected and that all security checks (nonce, state, PKCE, peer IP, user agent) are enforced. Avoid reusing the same callback endpoint for both sign-in and account linking flows.
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 flaw allows an attacker to trick a victim's browser into completing an authorization flow that the victim did not initiate, potentially signing the victim into the attacker's account. This occurs because the callback endpoint processes requests without a valid session by disabling security checks, including nonce, state, PKCE, peer IP, and user agent validations. The vulnerability affects versions from 0.2.0-beta.1 before 0.5.0 of oidcc_plug.
CVSS v4.0
Score 2.1low
Affected software
Erlang Ecosystem Foundation
oidcc_plug
Erlang Ecosystem Foundation
oidcc_plug
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 Oidcc.Plug.AuthorizationCallback.call/2 function, which processes callback requests lacking an Oidcc.Plug.Authorize session by substituting permissive defaults and skipping critical security checks. An attacker can obtain an authorization code for their own account and induce a victim to visit the callback endpoint with that code but without the required state parameter. Because the application does not reject such requests and disables security validations, the victim is signed into the attacker's account. This can lead to the victim's actions being performed under the attacker's identity and, in cases where the same callback is used for sign-in and account linking, may result in account takeover. Legitimate flows always include a state parameter, so the permissive fallback serves no conforming flow. The issue affects oidcc_plug versions from 0.2.0-beta.1 up to but not including 0.5.0.
Potential Impact
The vulnerability allows an attacker to 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 unauthorized access to the victim's actions under the attacker's identity. Additionally, if the application uses the same callback for both signing in and linking provider accounts, the attacker can link their account to the victim's, potentially leading to account takeover. The CVSS 4.0 score is low (2.1), reflecting limited impact and the requirement for user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Users of oidcc_plug should monitor the Erlang Ecosystem Foundation's advisories for updates. Until a fix is available, applications should ensure that callback requests without a valid session or missing state parameters are rejected and that all security checks (nonce, state, PKCE, peer IP, user agent) are enforced. Avoid reusing the same callback endpoint for both sign-in and account linking flows.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-07-28T04:15:10.240Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a71d525bf32cb7a343fb0f0
Added to database: 08/04/2026, 12:03:49 UTC
Last enriched: 08/11/2026, 18:41:30 UTC
Last updated: 09/17/2026, 22:01:37 UTC
Views: 35
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.