{"id":8261747,"name":"oidcc_plug","ecosystem":"hex","description":"Plug Integration for the oidcc OpenID Connect Library","homepage":null,"licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/erlef/oidcc_plug","keywords_array":[],"namespace":null,"versions_count":19,"first_release_published_at":"2023-09-11T18:14:47.676Z","latest_release_published_at":"2026-08-04T13:52:20.127Z","latest_release_number":"0.5.1","last_synced_at":"2026-09-28T01:41:09.049Z","created_at":"2023-09-11T18:20:16.312Z","updated_at":"2026-09-28T13:49:07.080Z","registry_url":"https://hex.pm/packages/oidcc_plug/","install_command":"mix hex.package fetch oidcc_plug","documentation_url":"http://hexdocs.pm/oidcc_plug/","metadata":{},"repo_metadata":{"id":194089412,"uuid":"690082923","full_name":"erlef/oidcc_plug","owner":"erlef","description":"Plug Integration for the oidcc OpenID Connect Library","archived":false,"fork":false,"pushed_at":"2026-09-01T13:34:20.000Z","size":273,"stargazers_count":17,"open_issues_count":2,"forks_count":17,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-09-20T01:25:05.659Z","etag":null,"topics":["client","elixir","openid","openid-client","openid-connect","plug","security-wg"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/oidcc_plug","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erlef.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":["https://members.erlef.org/join-us","https://erlef.org/sponsors#become-a-sponsor"]}},"created_at":"2023-09-11T13:52:55.000Z","updated_at":"2026-09-18T10:44:28.000Z","dependencies_parsed_at":"2024-12-22T09:22:49.236Z","dependency_job_id":"bc9feedc-093a-427b-82e0-96a77f0ff21e","html_url":"https://github.com/erlef/oidcc_plug","commit_stats":null,"previous_names":["erlang-openid/oidcc_plug","erlef/oidcc_plug"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/erlef/oidcc_plug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erlef","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37554017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-21T02:00:06.232Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"erlef","name":"The Erlang Ecosystem Foundation","uuid":"47606891","kind":"organization","description":"","email":null,"website":"https://erlef.org","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/47606891?v=4","repositories_count":28,"last_synced_at":"2024-04-14T02:47:20.500Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/erlef","funding_links":[],"total_stars":1140,"followers":98,"following":0,"created_at":"2022-11-12T06:24:08.132Z","updated_at":"2024-04-14T02:47:28.727Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erlef","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erlef/repositories"},"tags":[{"name":"v0.4.0","sha":"989b809174070ef71c9dc545de149854f86d8f7c","kind":"tag","published_at":"2026-04-09T14:11:59.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.4.0","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.4.0/manifests"},{"name":"v0.3.2","sha":"f7e4409ed4ac6da6763b519690d5b35f2de5f1b2","kind":"tag","published_at":"2025-08-05T08:21:16.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.3.2","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.3.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.3.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.3.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.3.2/manifests"},{"name":"v0.3.1","sha":"e93b1d7b8afaf6c5a552f471c8afaefeaa641c18","kind":"tag","published_at":"2025-05-05T21:04:21.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.3.1","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.3.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.3.1/manifests"},{"name":"v0.3.0","sha":"a30f819116857f5285f337aa5274d6e579289aa9","kind":"tag","published_at":"2025-04-09T06:24:55.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.3.0","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.3.0/manifests"},{"name":"v0.2.2","sha":"68272dd55d29c5c6adb39f7aed2452e700860d45","kind":"tag","published_at":"2025-03-26T09:53:58.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.2.2","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.2.2/manifests"},{"name":"v0.2.1","sha":"7038be39b517dee79d699cb3ea0cd3ba91946057","kind":"tag","published_at":"2025-02-24T10:23:59.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.2.1","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.2.1/manifests"},{"name":"v0.2.0","sha":"d76a47dd4cc752f896b9ea288764fa24e91eb735","kind":"tag","published_at":"2024-12-22T08:40:19.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.2.0","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.2.0/manifests"},{"name":"v0.2.0-beta.1","sha":"c5609a63c041676562750dff2d2f7bae17fe7b69","kind":"tag","published_at":"2024-04-30T14:42:48.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.2.0-beta.1","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.2.0-beta.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.2.0-beta.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.2.0-beta.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.2.0-beta.1/manifests"},{"name":"v0.1.2","sha":"ecd6ec27c1cf6149ee923d946c6fe218431844cb","kind":"tag","published_at":"2024-04-22T08:34:07.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.1.2","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.2/manifests"},{"name":"v0.1.1","sha":"41dde3d777550c746079fcf26d943b235fb4115c","kind":"tag","published_at":"2023-12-13T19:43:45.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.1.1","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.1/manifests"},{"name":"v0.1.0","sha":"0970fa212adf74281bfdf439334fd7e970749499","kind":"tag","published_at":"2023-09-29T22:54:04.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.1.0","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.0/manifests"},{"name":"v0.1.0-rc.2","sha":"74345e43c811ef892c475984ca75b016a420a936","kind":"tag","published_at":"2023-09-25T11:10:55.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.1.0-rc.2","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.1.0-rc.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.1.0-rc.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.0-rc.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.0-rc.2/manifests"},{"name":"v0.1.0-rc.1","sha":"99cfad49e7d5e9b32a30b567cbc08dee0bccecab","kind":"tag","published_at":"2023-09-19T10:32:05.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.1.0-rc.1","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.1.0-rc.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.1.0-rc.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.0-rc.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.0-rc.1/manifests"},{"name":"v0.1.0-alpha.4","sha":"554e51987e7acdc44ac9c4d765a70f17254008c5","kind":"tag","published_at":"2023-09-18T16:38:25.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.1.0-alpha.4","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.1.0-alpha.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.1.0-alpha.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.0-alpha.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.0-alpha.4/manifests"},{"name":"v0.1.0-alpha.3","sha":"66259d66202f7b1a5bfa5a04010fe95ef1631431","kind":"tag","published_at":"2023-09-14T21:12:17.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.1.0-alpha.3","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.1.0-alpha.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.1.0-alpha.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.0-alpha.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.0-alpha.3/manifests"},{"name":"v0.1.0-alpha.2","sha":"de9d72bbf62f5b6ba7578e67a7b2db17ba0d92d4","kind":"tag","published_at":"2023-09-13T14:51:12.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.1.0-alpha.2","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.1.0-alpha.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.1.0-alpha.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.0-alpha.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.0-alpha.2/manifests"},{"name":"v0.1.0-alpha.1","sha":"6ecb91b7655e6301fc37b2dbec9d4f5cb72365f5","kind":"tag","published_at":"2023-09-11T18:14:57.000Z","download_url":"https://codeload.github.com/erlef/oidcc_plug/tar.gz/v0.1.0-alpha.1","html_url":"https://github.com/erlef/oidcc_plug/releases/tag/v0.1.0-alpha.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/erlef/oidcc_plug@v0.1.0-alpha.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.0-alpha.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/tags/v0.1.0-alpha.1/manifests"}]},"repo_metadata_updated_at":"2026-09-28T01:41:10.274Z","dependent_packages_count":0,"downloads":181211,"downloads_period":"total","dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":37.29620932572962,"dependent_packages_count":20.77434073676441,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":29.035275031247018},"purl":"pkg:hex/oidcc_plug","advisories":[{"uuid":"EEF-CVE-2026-66883","url":"https://github.com/erlef/oidcc_plug/security/advisories/GHSA-w5r8-m75h-98fc","title":"Oidcc.Plug.Authorize user agent session binding inert due to case-sensitive header lookup","description":"## Summary\n\nImproper Handling of Case Sensitivity vulnerability in Erlang Ecosystem Foundation oidcc_plug (`Oidcc.Plug.Authorize` module) renders the user agent session binding inert, removing a defense in depth control against replay of a stolen session.\n\nThis vulnerability is associated with program files `lib/oidcc/plug/authorize.ex` and `lib/oidcc/plug/authorization_callback.ex`, and program routines `Oidcc.Plug.Authorize.call/2` and `Oidcc.Plug.AuthorizationCallback.call/2`.\n\n`Oidcc.Plug.Authorize.call/2` reads the initiating client's user agent with `get_req_header(conn, \"User-Agent\")`. Plug lowercases incoming header names, but `get_req_header/2` matches the supplied key exactly and performs no normalization of its own, so the mixed-case lookup always returns an empty list and `nil` is written into the session. On the callback side, `Oidcc.Plug.AuthorizationCallback` treats a stored `nil` user agent as nothing to compare and returns `:ok` without inspecting the request. The two behaviours combine so that the check passes unconditionally on every request, including for deployments that explicitly opted in with `check_useragent: true`, and an authorization callback can be completed from a different user agent than the one that initiated the flow without detection. The check fails open silently, with no error and no log entry, so a deployment cannot tell the binding is absent.\n\nThe impact is limited to defense in depth. The inert check does not by itself allow an attacker to complete an authorization flow; it removes one layer that would otherwise hinder use of a stolen or leaked session, such as an exfiltrated session cookie replayed from a different client. The CSRF/state, nonce, and PKCE checks are unaffected and continue to function. Deployments that never enabled `check_useragent` are not affected in practice, since they never expected the binding. The corresponding lookup in `Oidcc.Plug.AuthorizationCallback` correctly uses the lowercase key and is not affected.\n\nThis issue affects oidcc_plug: from 0.1.0-alpha.3 before 0.5.0.","origin":"ERLEF","severity":"MEDIUM","published_at":"2026-08-04T11:46:05.191Z","withdrawn_at":null,"classification":null,"cvss_score":6.3,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","references":["https://github.com/erlef/oidcc_plug/security/advisories/GHSA-w5r8-m75h-98fc","https://cna.erlef.org/cves/CVE-2026-66883.html","https://github.com/erlef/oidcc_plug/commit/f15e52c5750aaba701104b10ed96cfac063bd557","https://hex.pm/packages/oidcc_plug"],"source_kind":"erlef","identifiers":["EEF-CVE-2026-66883","GHSA-w5r8-m75h-98fc","CVE-2026-66883"],"repository_url":"https://github.com/erlef/oidcc_plug","blast_radius":1.0,"created_at":"2026-08-04T12:22:11.133Z","updated_at":"2026-09-28T12:41:35.028Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/EEF-CVE-2026-66883","html_url":"https://advisories.ecosyste.ms/advisories/EEF-CVE-2026-66883","packages":[{"ecosystem":"hex","package_name":"oidcc_plug","versions":[{"first_patched_version":"0.5.0","vulnerable_version_range":"\u003e= 0.1.0-alpha.3, \u003c 0.5.0"}],"purl":null,"statistics":{"dependent_packages_count":0,"dependent_repos_count":0,"downloads":181004,"downloads_period":"total"},"affected_versions":["0.1.0","0.1.0-alpha.3","0.1.0-alpha.4","0.1.0-rc.1","0.1.0-rc.2","0.1.1","0.1.2","0.2.0","0.2.0-beta.1","0.2.1","0.2.2","0.3.0","0.3.1","0.3.2","0.4.0"],"unaffected_versions":["0.5.0","0.5.1"]}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/EEF-CVE-2026-66883/related_packages","related_advisories":[]},{"uuid":"EEF-CVE-2026-66884","url":"https://github.com/erlef/oidcc_plug/security/advisories/GHSA-fg66-w5gp-22cr","title":"Oidcc.Plug.AuthorizationCallback accepts callbacks with no authorize session or no state parameter, defeating CSRF protection","description":"## Summary\n\nCross-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.\n\n## Workarounds\n\nInsert a plug before `Oidcc.Plug.AuthorizationCallback` that rejects the request when either the `Oidcc.Plug.Authorize` session or the `state` query parameter is missing. This restores the binding the callback fails to enforce and does not require modifying the library.","origin":"ERLEF","severity":"LOW","published_at":"2026-08-04T11:45:49.464Z","withdrawn_at":null,"classification":null,"cvss_score":2.1,"cvss_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","references":["https://github.com/erlef/oidcc_plug/security/advisories/GHSA-fg66-w5gp-22cr","https://cna.erlef.org/cves/CVE-2026-66884.html","https://github.com/erlef/oidcc_plug/commit/97d75afc57826dca31989b47d6e2a3c136039917","https://hex.pm/packages/oidcc_plug"],"source_kind":"erlef","identifiers":["EEF-CVE-2026-66884","GHSA-fg66-w5gp-22cr","CVE-2026-66884"],"repository_url":"https://github.com/erlef/oidcc_plug","blast_radius":1.0,"created_at":"2026-08-04T12:22:11.219Z","updated_at":"2026-09-08T06:30:00.851Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/EEF-CVE-2026-66884","html_url":"https://advisories.ecosyste.ms/advisories/EEF-CVE-2026-66884","packages":[{"ecosystem":"hex","package_name":"oidcc_plug","versions":[{"first_patched_version":"0.5.0","vulnerable_version_range":"\u003e= 0.2.0-beta.1, \u003c 0.5.0"}],"purl":null,"statistics":{"dependent_packages_count":0,"dependent_repos_count":0,"downloads":181004,"downloads_period":"total"},"affected_versions":["0.2.0","0.2.0-beta.1","0.2.1","0.2.2","0.3.0","0.3.1","0.3.2","0.4.0"],"unaffected_versions":["0.1.0","0.1.1","0.1.2","0.5.0","0.5.1"]}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/EEF-CVE-2026-66884/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/hex/oidcc_plug","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/hex/oidcc_plug","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/hex/oidcc_plug/dependencies","status":null,"funding_links":["https://members.erlef.org/join-us","https://erlef.org/sponsors#become-a-sponsor"],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-27T01:40:32.292Z","issues_count":7,"pull_requests_count":88,"avg_time_to_close_issue":1260715.6,"avg_time_to_close_pull_request":385277.5443037975,"issues_closed_count":5,"pull_requests_closed_count":79,"pull_request_authors_count":15,"issue_authors_count":7,"avg_comments_per_issue":2.2857142857142856,"avg_comments_per_pull_request":1.4545454545454546,"merged_pull_requests_count":65,"bot_issues_count":0,"bot_pull_requests_count":25,"past_year_issues_count":3,"past_year_pull_requests_count":27,"past_year_avg_time_to_close_issue":1761210.6666666667,"past_year_avg_time_to_close_pull_request":910757.0,"past_year_issues_closed_count":3,"past_year_pull_requests_closed_count":26,"past_year_pull_request_authors_count":8,"past_year_issue_authors_count":3,"past_year_avg_comments_per_issue":4.333333333333333,"past_year_avg_comments_per_pull_request":0.8148148148148148,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":12,"past_year_merged_pull_requests_count":19,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/erlef%2Foidcc_plug/issues","maintainers":[{"login":"maennchen","count":36,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/maennchen"}],"active_maintainers":[{"login":"maennchen","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/maennchen"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/hex.pm/packages/oidcc_plug/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/hex.pm/packages/oidcc_plug/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/hex.pm/packages/oidcc_plug/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hex.pm/packages/oidcc_plug/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hex.pm/packages/oidcc_plug/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/hex.pm/packages/oidcc_plug/codemeta","maintainers":[{"uuid":"maennchen","login":"maennchen","name":null,"email":"jonatan@maennchen.ch","url":null,"packages_count":24,"html_url":"https://hex.pm/users/maennchen","role":null,"created_at":"2023-09-11T18:21:26.220Z","updated_at":"2023-09-11T18:21:26.220Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/hex.pm/maintainers/maennchen/packages"},{"uuid":"erlefsecuritywg","login":"erlefsecuritywg","name":null,"email":"security@erlef.org","url":null,"packages_count":13,"html_url":"https://hex.pm/users/erlefsecuritywg","role":null,"created_at":"2023-09-18T18:16:25.693Z","updated_at":"2023-09-18T18:16:25.693Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/hex.pm/maintainers/erlefsecuritywg/packages"}]}