CVE-2026-47158
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedVaultwarden 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceVaultwarden versions before 1.36.0 contain multiple SSO authentication flaws: the OAuth state parameter is not bound to the browser session (allowing CSRF-like attacks), PKCE parameters can be controlled by attackers (breaking authorization code exchange protection), and SsoAuth records persist after failed token exchanges. These combined issues allow an unauthenticated attacker to induce a victim to complete IdP authentication and then redeem the resulting tokens to establish a fully authenticated session as the victim.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Vaultwarden versionAccess the Vaultwarden admin interface and view the 'About' page, or run 'docker images' to check the image tag, or check the binary/service version via '--version' flag if running as a standalone binaryAffected if The installed version is earlier than 1.36.0
-
Determine if SSO authentication is enabledReview the Vaultwarden configuration for SSO/OAuth/OIDC settings - check environment variables for SSO_PROVIDERS or similar, or log into the admin interface and navigate to the SSO/Authentication settings sectionAffected if SSO/OAuth/OIDC authentication methods are configured and enabled for user login
-
Verify OAuth state parameter handlingInitiate an SSO login flow and inspect the generated authorization URL - check whether the 'state' parameter value is tied to a session cookie or server-side session storage that the browser must present to complete the flowAffected if The 'state' parameter is not bound to the initiating browser session and can be replayed from a different browser context
-
Inspect PKCE parameter acceptanceDuring SSO login initiation, attempt to include or modify PKCE parameters (code_challenge, code_challenge_method) in the authorization request and observe whether Vaultwarden accepts attacker-supplied valuesAffected if Vaultwarden accepts PKCE parameters controlled by the client rather than generating and binding them server-side
-
Check for stale SsoAuth recordsQuery the Vaultwarden database for SsoAuth records that were created but never successfully exchanged for tokens - the location depends on the database backend (SQLite, MySQL, PostgreSQL) configured for your instanceAffected if SsoAuth records persist in the database after failed token exchange attempts, creating opportunities for token hijacking
A user is affected if Vaultwarden is running a version earlier than 1.36.0 AND has SSO/OAuth authentication enabled, with the specific vulnerabilities present in their SSO configuration and database state.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade Vaultwarden to version 1.36.0 or later. Review SSO configuration and monitor for any unauthorized session creation attempts.
1.36.0
- Backup your Vaultwarden data directory and configuration files before upgrading
- Stop the running Vaultwarden container or service
- Pull or install Vaultwarden version 1.36.0 or later
- Restart Vaultwarden with the new version
- Verify the SSO authorization flow works correctly by testing a login with your identity provider
- Confirm the /connect/authorize endpoint now properly binds the OAuth state parameter to the browser session
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,512.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-47158 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-47158 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data