CVE-2026-66884 (GCVE-0-2026-66884)
Vulnerability from cvelistv5 – Published: 2026-08-04 11:45 – Updated: 2026-08-04 12:40
VLAI
EPSS
VEX
Title
Oidcc.Plug.AuthorizationCallback accepts callbacks with no authorize session or no state parameter, defeating CSRF protection
Summary
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.
Severity
SSVC
Exploitation: poc
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-04 12:37 UTC
CWE
- CWE-352 - Cross-Site Request Forgery (CSRF)
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/erlef/oidcc_plug/security/advi… | vendor-advisoryrelated |
| https://cna.erlef.org/cves/CVE-2026-66884.html | related |
| https://osv.dev/vulnerability/EEF-CVE-2026-66884 | related |
| https://github.com/erlef/oidcc_plug/commit/97d75a… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Erlang Ecosystem Foundation | oidcc_plug |
Affected:
0.2.0-beta.1 , < 0.5.0
(semver)
cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:* |
|
| Erlang Ecosystem Foundation | oidcc_plug |
Affected:
e577ae73b9080693442916043a22d8f05491dd93 , < 97d75afc57826dca31989b47d6e2a3c136039917
(git)
cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:* |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-66884",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-04T12:37:09.321822Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-08-04T12:40:41.232Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/erlef/oidcc_plug/security/advisories/GHSA-fg66-w5gp-22cr"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://repo.hex.pm",
"cpes": [
"cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"Elixir.Oidcc.Plug.AuthorizationCallback"
],
"packageName": "oidcc_plug",
"packageURL": "pkg:hex/oidcc_plug",
"product": "oidcc_plug",
"programFiles": [
"lib/oidcc/plug/authorization_callback.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Oidcc.Plug.AuthorizationCallback\u0027:call/2"
}
],
"repo": "https://github.com/erlef/oidcc_plug",
"vendor": "Erlang Ecosystem Foundation",
"versions": [
{
"lessThan": "0.5.0",
"status": "affected",
"version": "0.2.0-beta.1",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://github.com",
"cpes": [
"cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"Elixir.Oidcc.Plug.AuthorizationCallback"
],
"packageName": "erlef/oidcc_plug",
"packageURL": "pkg:github/erlef/oidcc_plug",
"product": "oidcc_plug",
"programFiles": [
"lib/oidcc/plug/authorization_callback.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Oidcc.Plug.AuthorizationCallback\u0027:call/2"
}
],
"repo": "https://github.com/erlef/oidcc_plug",
"vendor": "Erlang Ecosystem Foundation",
"versions": [
{
"lessThan": "97d75afc57826dca31989b47d6e2a3c136039917",
"status": "affected",
"version": "e577ae73b9080693442916043a22d8f05491dd93",
"versionType": "git"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:*",
"versionEndExcluding": "0.5.0",
"versionStartIncluding": "0.2.0-beta.1",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "AND"
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Mathias Polligkeit"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Mathias Polligkeit"
},
{
"lang": "en",
"type": "remediation reviewer",
"value": "Jonatan M\u00e4nnchen / EEF"
},
{
"lang": "en",
"type": "coordinator",
"value": "Jonatan M\u00e4nnchen / EEF"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eCross-Site Request Forgery vulnerability in Erlang Ecosystem Foundation oidcc_plug (\u003ccode\u003eOidcc.Plug.AuthorizationCallback\u003c/code\u003e module) allows an attacker to make a victim\u0027s browser complete an authorization flow the victim never initiated.\u003c/p\u003e\n\u003cp\u003eThis vulnerability is associated with program file \u003ccode\u003elib/oidcc/plug/authorization_callback.ex\u003c/code\u003e and program routine \u003ccode\u003eOidcc.Plug.AuthorizationCallback.call/2\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eA callback request that carries no \u003ccode\u003eOidcc.Plug.Authorize\u003c/code\u003e session is processed with every security check disabled rather than being rejected. \u003ccode\u003ecall/2\u003c/code\u003e substitutes permissive defaults for the absent session, and each downstream check treats its value as nothing to compare and returns \u003ccode\u003e:ok\u003c/code\u003e, so the nonce, state, PKCE, peer IP and user agent checks are all skipped. A separate clause of \u003ccode\u003echeck_state/2\u003c/code\u003e also accepts a state-less request when a verifier is present.\u003c/p\u003e\n\u003cp\u003eAn attacker obtains an authorization code for their own provider account, then induces the victim to visit the callback endpoint with that code and no \u003ccode\u003estate\u003c/code\u003e parameter. The application signs the victim in as the attacker, so the victim\u0027s subsequent actions occur in the attacker\u0027s 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\u0027s account becoming linked to the victim\u0027s.\u003c/p\u003e\n\u003cp\u003eThe 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. \u003ccode\u003eOidcc.Plug.Authorize\u003c/code\u003e always sends a \u003ccode\u003estate\u003c/code\u003e parameter, which an authorization server must echo, so no legitimate callback lacks one.\u003c/p\u003e\n\u003cp\u003eThis issue affects oidcc_plug: from 0.2.0-beta.1 before 0.5.0.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "Cross-Site Request Forgery vulnerability in Erlang Ecosystem Foundation oidcc_plug (`Oidcc.Plug.AuthorizationCallback` module) allows an attacker to make a victim\u0027s 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\u0027s subsequent actions occur in the attacker\u0027s 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\u0027s account becoming linked to the victim\u0027s.\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."
}
],
"value": "Cross-Site Request Forgery vulnerability in Erlang Ecosystem Foundation oidcc_plug (Oidcc.Plug.AuthorizationCallback module) allows an attacker to make a victim\u0027s 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\u0027s subsequent actions occur in the attacker\u0027s 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\u0027s account becoming linked to the victim\u0027s.\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."
}
],
"impacts": [
{
"capecId": "CAPEC-62",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-62 Cross Site Request Forgery"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 2.1,
"baseSeverity": "LOW",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "ACTIVE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-352",
"description": "CWE-352 Cross-Site Request Forgery (CSRF)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-04T11:45:49.464Z",
"orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"shortName": "EEF"
},
"references": [
{
"tags": [
"vendor-advisory",
"related"
],
"url": "https://github.com/erlef/oidcc_plug/security/advisories/GHSA-fg66-w5gp-22cr"
},
{
"tags": [
"related"
],
"url": "https://cna.erlef.org/cves/CVE-2026-66884.html"
},
{
"tags": [
"related"
],
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-66884"
},
{
"tags": [
"patch"
],
"url": "https://github.com/erlef/oidcc_plug/commit/97d75afc57826dca31989b47d6e2a3c136039917"
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "Oidcc.Plug.AuthorizationCallback accepts callbacks with no authorize session or no state parameter, defeating CSRF protection",
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eInsert a plug before \u003ccode\u003eOidcc.Plug.AuthorizationCallback\u003c/code\u003e that rejects the request when either the \u003ccode\u003eOidcc.Plug.Authorize\u003c/code\u003e session or the \u003ccode\u003estate\u003c/code\u003e query parameter is missing. This restores the binding the callback fails to enforce and does not require modifying the library.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "Insert 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."
}
],
"value": "Insert 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."
}
]
}
},
"cveMetadata": {
"assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"assignerShortName": "EEF",
"cveId": "CVE-2026-66884",
"datePublished": "2026-08-04T11:45:49.464Z",
"dateReserved": "2026-07-28T04:15:10.240Z",
"dateUpdated": "2026-08-04T12:40:41.232Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-66884",
"date": "2026-11-17",
"epss": "0.00256",
"percentile": "0.17331"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"collectionURL": "https://repo.hex.pm",
"cpes": [
"cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"Elixir.Oidcc.Plug.AuthorizationCallback"
],
"packageName": "oidcc_plug",
"packageURL": "pkg:hex/oidcc_plug",
"product": "oidcc_plug",
"programFiles": [
"lib/oidcc/plug/authorization_callback.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Oidcc.Plug.AuthorizationCallback\u0027:call/2"
}
],
"repo": "https://github.com/erlef/oidcc_plug",
"vendor": "Erlang Ecosystem Foundation",
"versions": [
{
"lessThan": "0.5.0",
"status": "affected",
"version": "0.2.0-beta.1",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://github.com",
"cpes": [
"cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"Elixir.Oidcc.Plug.AuthorizationCallback"
],
"packageName": "erlef/oidcc_plug",
"packageURL": "pkg:github/erlef/oidcc_plug",
"product": "oidcc_plug",
"programFiles": [
"lib/oidcc/plug/authorization_callback.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Oidcc.Plug.AuthorizationCallback\u0027:call/2"
}
],
"repo": "https://github.com/erlef/oidcc_plug",
"vendor": "Erlang Ecosystem Foundation",
"versions": [
{
"lessThan": "97d75afc57826dca31989b47d6e2a3c136039917",
"status": "affected",
"version": "e577ae73b9080693442916043a22d8f05491dd93",
"versionType": "git"
}
]
}
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Cross-Site Request Forgery vulnerability in Erlang Ecosystem Foundation oidcc_plug (Oidcc.Plug.AuthorizationCallback module) allows an attacker to make a victim\u0027s 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\u0027s subsequent actions occur in the attacker\u0027s 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\u0027s account becoming linked to the victim\u0027s.\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."
},
{
"lang": "es",
"value": "Vulnerabilidad de falsificaci\u00f3n de petici\u00f3n en sitios cruzados en Erlang Ecosystem Foundation oidcc_plug (m\u00f3dulo Oidcc.Plug.AuthorizationCallback) permite a un atacante hacer que el navegador de una v\u00edctima complete un flujo de autorizaci\u00f3n que la v\u00edctima nunca inici\u00f3.\n\nEsta vulnerabilidad est\u00e1 asociada con el archivo de programa lib/oidcc/plug/authorization_callback.ex y la rutina de programa Oidcc.Plug.AuthorizationCallback.call/2.\n\nUna petici\u00f3n de devoluci\u00f3n de llamada que no lleva ninguna sesi\u00f3n 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\u00f3n ausente, y cada verificaci\u00f3n 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\u00e1usula separada de check_state/2 tambi\u00e9n acepta una petici\u00f3n sin estado cuando un verificador est\u00e1 presente.\n\nUn atacante obtiene un c\u00f3digo de autorizaci\u00f3n para su propia cuenta de proveedor, luego induce a la v\u00edctima a visitar el punto final de devoluci\u00f3n de llamada con ese c\u00f3digo y sin par\u00e1metro de estado. La aplicaci\u00f3n inicia la sesi\u00f3n de la v\u00edctima como el atacante, por lo que las acciones posteriores de la v\u00edctima ocurren en la cuenta del atacante donde el atacante puede leerlas. Las aplicaciones que reutilizan una devoluci\u00f3n de llamada tanto para iniciar sesi\u00f3n como para vincular una cuenta de proveedor est\u00e1n a\u00fan m\u00e1s expuestas a la toma de control de cuenta, quedando la cuenta del atacante vinculada a la v\u00edctima.\n\nLa alternativa permisiva no sirve a ning\u00fan flujo conforme. El inicio de sesi\u00f3n iniciado por terceros llega a una parte confiable en un punto final de inicio de sesi\u00f3n separado y hace que env\u00ede una nueva petici\u00f3n de autenticaci\u00f3n, y esta biblioteca no implementa tal punto final. Oidcc.Plug.Authorize siempre env\u00eda un par\u00e1metro de estado, que un servidor de autorizaci\u00f3n debe hacer eco, por lo que ninguna devoluci\u00f3n de llamada leg\u00edtima carece de uno.\n\nEste problema afecta a oidcc_plug: desde 0.2.0-beta.1 antes de 0.5.0."
}
],
"id": "CVE-2026-66884",
"lastModified": "2026-10-23T23:10:00.157",
"metrics": {
"cvssMetricV40": [
{
"cvssData": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"availabilityRequirement": "NOT_DEFINED",
"baseScore": 2.1,
"baseSeverity": "LOW",
"confidentialityRequirement": "NOT_DEFINED",
"exploitMaturity": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "ACTIVE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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/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",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-66884",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-04T12:37:09.321822Z",
"version": "2.0.3"
}
}
]
},
"published": "2026-08-04T12:16:36.373",
"references": [
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"url": "https://cna.erlef.org/cves/CVE-2026-66884.html"
},
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"url": "https://github.com/erlef/oidcc_plug/commit/97d75afc57826dca31989b47d6e2a3c136039917"
},
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"url": "https://github.com/erlef/oidcc_plug/security/advisories/GHSA-fg66-w5gp-22cr"
},
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-66884"
},
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"url": "https://github.com/erlef/oidcc_plug/security/advisories/GHSA-fg66-w5gp-22cr"
}
],
"sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-352"
}
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"type": "Secondary"
}
]
}
},
"vulnrichment": {
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-66884",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-04T12:37:09.321822Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-08-04T12:40:37.053Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/erlef/oidcc_plug/security/advisories/GHSA-fg66-w5gp-22cr"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://repo.hex.pm",
"cpes": [
"cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"Elixir.Oidcc.Plug.AuthorizationCallback"
],
"packageName": "oidcc_plug",
"packageURL": "pkg:hex/oidcc_plug",
"product": "oidcc_plug",
"programFiles": [
"lib/oidcc/plug/authorization_callback.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Oidcc.Plug.AuthorizationCallback\u0027:call/2"
}
],
"repo": "https://github.com/erlef/oidcc_plug",
"vendor": "Erlang Ecosystem Foundation",
"versions": [
{
"lessThan": "0.5.0",
"status": "affected",
"version": "0.2.0-beta.1",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://github.com",
"cpes": [
"cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"Elixir.Oidcc.Plug.AuthorizationCallback"
],
"packageName": "erlef/oidcc_plug",
"packageURL": "pkg:github/erlef/oidcc_plug",
"product": "oidcc_plug",
"programFiles": [
"lib/oidcc/plug/authorization_callback.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Oidcc.Plug.AuthorizationCallback\u0027:call/2"
}
],
"repo": "https://github.com/erlef/oidcc_plug",
"vendor": "Erlang Ecosystem Foundation",
"versions": [
{
"lessThan": "97d75afc57826dca31989b47d6e2a3c136039917",
"status": "affected",
"version": "e577ae73b9080693442916043a22d8f05491dd93",
"versionType": "git"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:erlef:oidcc_plug:*:*:*:*:*:erlang:*:*",
"versionEndExcluding": "0.5.0",
"versionStartIncluding": "0.2.0-beta.1",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "AND"
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Mathias Polligkeit"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Mathias Polligkeit"
},
{
"lang": "en",
"type": "remediation reviewer",
"value": "Jonatan M\u00e4nnchen / EEF"
},
{
"lang": "en",
"type": "coordinator",
"value": "Jonatan M\u00e4nnchen / EEF"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eCross-Site Request Forgery vulnerability in Erlang Ecosystem Foundation oidcc_plug (\u003ccode\u003eOidcc.Plug.AuthorizationCallback\u003c/code\u003e module) allows an attacker to make a victim\u0027s browser complete an authorization flow the victim never initiated.\u003c/p\u003e\n\u003cp\u003eThis vulnerability is associated with program file \u003ccode\u003elib/oidcc/plug/authorization_callback.ex\u003c/code\u003e and program routine \u003ccode\u003eOidcc.Plug.AuthorizationCallback.call/2\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eA callback request that carries no \u003ccode\u003eOidcc.Plug.Authorize\u003c/code\u003e session is processed with every security check disabled rather than being rejected. \u003ccode\u003ecall/2\u003c/code\u003e substitutes permissive defaults for the absent session, and each downstream check treats its value as nothing to compare and returns \u003ccode\u003e:ok\u003c/code\u003e, so the nonce, state, PKCE, peer IP and user agent checks are all skipped. A separate clause of \u003ccode\u003echeck_state/2\u003c/code\u003e also accepts a state-less request when a verifier is present.\u003c/p\u003e\n\u003cp\u003eAn attacker obtains an authorization code for their own provider account, then induces the victim to visit the callback endpoint with that code and no \u003ccode\u003estate\u003c/code\u003e parameter. The application signs the victim in as the attacker, so the victim\u0027s subsequent actions occur in the attacker\u0027s 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\u0027s account becoming linked to the victim\u0027s.\u003c/p\u003e\n\u003cp\u003eThe 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. \u003ccode\u003eOidcc.Plug.Authorize\u003c/code\u003e always sends a \u003ccode\u003estate\u003c/code\u003e parameter, which an authorization server must echo, so no legitimate callback lacks one.\u003c/p\u003e\n\u003cp\u003eThis issue affects oidcc_plug: from 0.2.0-beta.1 before 0.5.0.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "Cross-Site Request Forgery vulnerability in Erlang Ecosystem Foundation oidcc_plug (`Oidcc.Plug.AuthorizationCallback` module) allows an attacker to make a victim\u0027s 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\u0027s subsequent actions occur in the attacker\u0027s 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\u0027s account becoming linked to the victim\u0027s.\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."
}
],
"value": "Cross-Site Request Forgery vulnerability in Erlang Ecosystem Foundation oidcc_plug (Oidcc.Plug.AuthorizationCallback module) allows an attacker to make a victim\u0027s 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\u0027s subsequent actions occur in the attacker\u0027s 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\u0027s account becoming linked to the victim\u0027s.\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."
}
],
"impacts": [
{
"capecId": "CAPEC-62",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-62 Cross Site Request Forgery"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 2.1,
"baseSeverity": "LOW",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "ACTIVE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-352",
"description": "CWE-352 Cross-Site Request Forgery (CSRF)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-04T11:45:49.464Z",
"orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"shortName": "EEF"
},
"references": [
{
"tags": [
"vendor-advisory",
"related"
],
"url": "https://github.com/erlef/oidcc_plug/security/advisories/GHSA-fg66-w5gp-22cr"
},
{
"tags": [
"related"
],
"url": "https://cna.erlef.org/cves/CVE-2026-66884.html"
},
{
"tags": [
"related"
],
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-66884"
},
{
"tags": [
"patch"
],
"url": "https://github.com/erlef/oidcc_plug/commit/97d75afc57826dca31989b47d6e2a3c136039917"
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "Oidcc.Plug.AuthorizationCallback accepts callbacks with no authorize session or no state parameter, defeating CSRF protection",
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eInsert a plug before \u003ccode\u003eOidcc.Plug.AuthorizationCallback\u003c/code\u003e that rejects the request when either the \u003ccode\u003eOidcc.Plug.Authorize\u003c/code\u003e session or the \u003ccode\u003estate\u003c/code\u003e query parameter is missing. This restores the binding the callback fails to enforce and does not require modifying the library.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "Insert 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."
}
],
"value": "Insert 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."
}
]
}
},
"cveMetadata": {
"assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"assignerShortName": "EEF",
"cveId": "CVE-2026-66884",
"datePublished": "2026-08-04T11:45:49.464Z",
"dateReserved": "2026-07-28T04:15:10.240Z",
"dateUpdated": "2026-08-04T12:40:41.232Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…