{"answers":{"affected":"1 open source package ship an affected version, including oidcc_plug.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-66884 exists.","fix":"Upgrade oidcc_plug to 0.5.0 or later.","what":"CVE-2026-66884 is a low-severity vulnerability in Erlang Ecosystem Foundation oidcc_plug, published on 4 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-66884 and fix it if it is affected.\n\nWhat it is: CVE-2026-66884 is a low-severity vulnerability in Erlang Ecosystem Foundation oidcc_plug, published on 4 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-66884 exists.\n\nAffected packages and fixed versions:\n- oidcc_plug (Hex): affected from 0.2.0-beta.1; fixed in 0.5.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-66884/ (Markdown: https://insights.sbomify.com/CVE-2026-66884/index.md)","id":"CVE-2026-66884","markdown":"https://insights.sbomify.com/CVE-2026-66884/index.md","name":"CVE-2026-66884","record":{"aliases":["EEF-CVE-2026-66884","GHSA-fg66-w5gp-22cr"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Erlang OIDC library","requires_auth":"none","summary":"Attackers can bypass CSRF protections in oidcc_plug to sign victims into attacker-controlled accounts, leading to account takeover and data exposure.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":2.1,"severity":"low","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"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.\n\nThis vulnerability is associated with program file lib/oidcc/plug/authorization_callback.ex and program routine Oidcc.Plug.AuthorizationCallback.call/2.\n\nA 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.\n\nAn 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.\n\nThe 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.\n\nThis issue affects oidcc_plug: from 0.2.0-beta.1 before 0.5.0.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Cross-site request forgery in oidcc plug","id":"CVE-2026-66884","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"csrf","year":"2026"},"n_packages":1,"n_references":4,"next":{"headline":"Livebook Teams identity callback lacks state binding, allowing login CSRF","id":"CVE-2026-66885"},"packages":[{"ecosystem":"Hex","fixed":["0.5.0"],"introduced":["0.2.0-beta.1"],"last_affected":[],"package":"oidcc_plug","purl":"pkg:hex/oidcc_plug","source":"EEF-CVE-2026-66884"}],"prev":{"headline":"Oidcc.Plug.Authorize user agent session binding inert due to case-sensitive header lookup","id":"CVE-2026-66883"},"products":["oidcc_plug"],"published":"2026-08-04","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-04","vendors":["Erlang Ecosystem Foundation"]},"summary":"Attackers can bypass CSRF protections in oidcc_plug to sign victims into attacker-controlled accounts, leading to account takeover and data exposure.","url":"https://insights.sbomify.com/CVE-2026-66884/"}