{"id":"CVE-2026-47158","state":"PUBLISHED","title":"Vaultwarden: CSRF in SSO Authorization Flow","description":"Vaultwarden is a Bitwarden-compatible server written in Rust. Prior to 1.36.0, Vaultwarden's SSO authorization flow did not bind the OAuth state parameter accepted by /connect/authorize to the initiating browser session, allowed attacker-controlled PKCE parameters, and left SsoAuth records intact after failed token exchange, allowing an unauthenticated attacker to induce IdP authentication and redeem tokens for a fully authenticated session. This issue is fixed in version 1.36.0.","publishedAt":"2026-07-15T15:01:51.955Z","updatedAt":"2026-07-15T18:04:27.279Z","severity":{"score":8.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["dani-garcia vaultwarden"],"affected":[{"vendor":"dani-garcia","product":"vaultwarden","versions":[{"version":"< 1.36.0","status":"affected"}]}],"references":["https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-pfp2-jhgq-6hg5","https://github.com/dani-garcia/vaultwarden/pull/7163","https://github.com/dani-garcia/vaultwarden/commit/d297e274a35dccd0f5d935e9d5934e0f7e9c0a87","https://github.com/dani-garcia/vaultwarden/releases/tag/1.36.0"],"weaknesses":["CWE-352"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47158.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47158","state":"PUBLISHED","datePublished":"2026-07-15T15:01:51.955Z","dateUpdated":"2026-07-15T18:04:27.279Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-18T21:25:34.496Z"},"containers":{"cna":{"title":"Vaultwarden: CSRF in SSO Authorization Flow","descriptions":[{"lang":"en","value":"Vaultwarden is a Bitwarden-compatible server written in Rust. Prior to 1.36.0, Vaultwarden's SSO authorization flow did not bind the OAuth state parameter accepted by /connect/authorize to the initiating browser session, allowed attacker-controlled PKCE parameters, and left SsoAuth records intact after failed token exchange, allowing an unauthenticated attacker to induce IdP authentication and redeem tokens for a fully authenticated session. This issue is fixed in version 1.36.0."}],"affected":[{"vendor":"dani-garcia","product":"vaultwarden","versions":[{"version":"< 1.36.0","status":"affected"}]}],"references":[{"url":"https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-pfp2-jhgq-6hg5","name":"https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-pfp2-jhgq-6hg5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dani-garcia/vaultwarden/pull/7163","name":"https://github.com/dani-garcia/vaultwarden/pull/7163","tags":["x_refsource_MISC"]},{"url":"https://github.com/dani-garcia/vaultwarden/commit/d297e274a35dccd0f5d935e9d5934e0f7e9c0a87","name":"https://github.com/dani-garcia/vaultwarden/commit/d297e274a35dccd0f5d935e9d5934e0f7e9c0a87","tags":["x_refsource_MISC"]},{"url":"https://github.com/dani-garcia/vaultwarden/releases/tag/1.36.0","name":"https://github.com/dani-garcia/vaultwarden/releases/tag/1.36.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-352","lang":"en","description":"CWE-352: Cross-Site Request Forgery (CSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-15T15:01:51.955Z"},"source":{"advisory":"GHSA-pfp2-jhgq-6hg5","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-15T18:04:17.054552Z","id":"CVE-2026-47158","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-15T18:04:27.279Z"}}]}}}