CVE-2026-47158 Vaultwarden: CSRF in SSO Authorization Flow
An unauthenticated attacker can hijack SSO sessions in Vaultwarden by exploiting missing state validation and PKCE flaws, leading to account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-47158?
CVE-2026-47158 is a high-severity vulnerability in dani-garcia vaultwarden, published on 15 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-352
Which versions are affected by CVE-2026-47158?
How do I fix CVE-2026-47158?
No fix has been published for CVE-2026-47158 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-47158 being exploited?
There is no known exploitation of CVE-2026-47158 in the wild and no public exploit code.
Sources
Also known as GHSA-pfp2-jhgq-6hg5.