Skip to main content

Bitwarden Server CVE-2026-101878

| EUVDEUVD-2026-88605 HIGH
Incorrect Implementation of Authentication Algorithm (CWE-303)
2026-09-29 VulnCheck GHSA-2fcc-4gv4-mvr7
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain provisionable IdP identity in target SSO
  2. Delivery
    Craft ExternalId prefixed with victim's 50-char identifier
  3. Exploit
    Initiate SSO login to Bitwarden
  4. Execution
    Parameter truncated to NVARCHAR(50) matches victim
  5. Persist
    Authenticate as victim, receive access token
  6. Impact
    Access victim-scoped organization vault

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication algorithm review
Exploitation Conditions

Requires a self-hosted Bitwarden Server deployment backed by Microsoft SQL Server (the truncation manifests via the SQL Server NVARCHAR(50) stored-procedure parameter) with organization SSO login enabled. The attacker must be able to obtain or control an identity-provider ExternalId whose value begins with the full 50-character ExternalId of a targeted victim organization member (PR:L - a provisionable IdP identity is needed). Limiting factors: exploitation is targeted (attacker must know the victim's specific ≥50-char identifier prefix), depends on non-default SSO configuration, is confined to SQL Server deployments, and is fixed in v2026.5.0.

Impact

This is a genuine authentication-bypass / account-takeover flaw (CWE-303) mislabeled in the input as 'Information Disclosure' - the outcome is a victim-scoped access token, i.e. full impersonation, not mere data leakage. The vendor CVSS 4.0 vector (AV:N/AC:H/PR:L/UI:N/VC:H/VI:H/VA:H, 7.7) is credible: network-reachable, but with meaningful complexity (AC:H) because the attacker's identity-provider identifier must begin with the victim's full 50-character ExternalId, and low privilege (PR:L) because the attacker must be a provisionable identity in the same SSO/IdP context. Real-world risk signals are mixed-to-elevated: publicly available exploit code exists (researcher write-up at sanjokkarki.com.np) and a vendor patch is confirmed (v2026.5.0, PR #7501, commit 27ae3d54), but there is no EPSS score provided and no CISA KEV listing, so there is no evidence of active exploitation - this is 'publicly available exploit code exists,' not 'in the wild.' The impact ceiling (takeover of a targeted organization member) is high, but exploitation is targeted and condition-bound rather than mass-automatable: the attacker must know/prefix a specific victim's identifier and the deployment must use SQL Server. Net: a real priority for self-hosted Bitwarden SSO deployments on MSSQL, but the AC:H + PR:L + narrow trigger keep it below wormable-critical.

Exploit ScenarioDerived

In a self-hosted Bitwarden Server on SQL Server using organization SSO, an attacker who can register or influence their identity-provider ExternalId crafts an identifier that begins with a victim organization member's full 50-character ExternalId plus extra characters. Because the stored procedure parameter is NVARCHAR(50), the attacker's identifier is silently truncated to match the victim's, and the SSO login resolves to the victim's account, yielding a victim-scoped access token. A public exploit write-up documenting this technique already exists.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 29, 2026

Authentication bypass in self-hosted Bitwarden Server versions 2025.6.0 through 2026.5.0 backed by Microsoft SQL Server allows a user with a provisionable SSO identity to obtain a victim-scoped access token. The stored procedure User_ReadBySsoUserOrganizationIdExternalId declares its @ExternalId parameter as NVARCHAR(50) while the column it queries stores NVARCHAR(300), so an identity-provider ExternalId whose value begins with a victim organization member's full 50-character identifier is silently truncated and matches that member's record during SSO login. Exploitation requires organization SSO login enabled on a SQL Server deployment plus knowledge or control of an IdP identifier sharing the victim's 50-character prefix (CVSS vector shows PR:L), making the attack targeted rather than broadly opportunistic; publicly available exploit code exists but there is no CISA KEV confirmation of active exploitation. The flaw is fixed in Bitwarden Server 2026.5.0, and despite the supplied 'Information Disclosure' tag its actual outcome is account takeover (CWE-303).

RemediationAI

Upgrade Bitwarden Server to version 2026.5.0 or later, which is the vendor-released fix; the underlying change is commit 27ae3d5455f723975fac03819eaeba8710666bc4 (pull request https://github.com/bitwarden/server/pull/7501), aligned with the v2026.5.0 release notes and the vendor advisory at https://www.vulncheck.com/advisories/bitwarden-server-authentication-bypass-via-sso-identifier-truncation. If patching must be deferred, the most effective compensating control is to disable organization SSO login on SQL Server-backed self-hosted instances (the trade-off being that members must fall back to master-password or other configured authentication until the upgrade completes) - do not simply rely on IdP-side hardening alone, since the flaw is in server-side parameter typing. A partial mitigation is to enforce, at the identity provider, that no two SSO ExternalId values share the same first 50 characters and to cap identifiers at 50 characters, which removes the truncation collision the exploit depends on, but it is fragile because it depends on IdP-side discipline and any future identifier longer than 50 characters reintroduces ambiguity. Audit existing IdP identifier lengths for values exceeding 50 characters and monitor authentication logs for a single ExternalId prefix producing logins across multiple member accounts; the public technical write-up at https://sanjokkarki.com.np/blog/bitwarden-sso-externalid-truncation documents the proof-of-concept, so treat unpatched SQL Server deployments as exploitable and prioritize the 2026.5.0 upgrade.

Affected VersionsENISA

bitwarden server 2025.6.0 <2026.5.0

Affected Packages

euvd bitwarden_server fix: 2026.5.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Bitwarden's SSO login path on self-hosted deployments resolves an organization member by calling the SQL Server stored procedure User_ReadBySsoUserOrganizationIdExternalId and passing the identity provider's ExternalId (the user's unique identifier at the IdP, e.g. an object ID or subject claim). The procedure signature declares @ExternalId as NVARCHAR(50), but the database column holding SSO identifiers is NVARCHAR(300). SQL Server performs implicit conversion when binding a longer argument to a shorter nvarchar parameter and silently truncates without raising an error, so only the first 50 characters of the supplied identifier are ever compared. This is a textbook CWE-303 (Incorrect Implementation of Authentication Algorithm) failure: the parameter type no longer matches the data model, and the lookup degenerates from an exact-match identity check into a prefix match. An attacker who controls an IdP identity whose identifier begins with the full 50-character identifier of a targeted member therefore authenticates as that member and receives an access token scoped to the victim. The problem is specific to the Microsoft SQL Server code path where these typed stored procedures are used; the CPE string cpe:2.3:a:bitwarden:bitwarden_server:*:*:*:*:*:*:*:* covers the affected server package versions before 2026.5.0. Adjoining weakness classes include numeric/string truncation (CWE-197 family) feeding an authentication-decision error.

Know when Bitwarden gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.7 HIGH
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.8 MEDIUM

Network SSO endpoint (AV:N); AC:H because attacker must know and prefix the victim's exact 50-char identifier; PR:L for a provisionable IdP identity; full victim account takeover gives C:H/I:H, no availability impact (A:N).

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Bitwarden Server 2025.6.0 before 2026.5.0 declares the @ExternalId parameter of the User_ReadBySsoUserOrganizationIdExternalId stored procedure as NVARCHAR(50) while the column it queries stores NVARCHAR(300), silently truncating the SSO login identifier on SQL Server deployments and allowing a user whose identity-provider identifier begins with another organization member's full 50-character identifier to authenticate as that member and obtain a victim-scoped access token.

Technical POC Analysis

CWE-303 (Incorrect Implementation of Authentication Algorithm), realized as a type-width mismatch rather than a logic error.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Self-hosted Bitwarden Server deployments backed by Microsoft SQL Server and configured with organization SSO are exposed to a high-severity authentication bypass that could allow a targeted actor to obtain another user's vault-scoped access token. Publicly available exploit code exists, and although exploitation requires specific SSO and identifier conditions, a successful compromise could expose high-value credentials and secrets managed in Bitwarden. Leadership should treat this as a material identity and access management risk and prioritize patching affected instances.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
High
widely deployed self-hosted enterprise password manager, though limited to SQL Server SSO setups
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2026-60104 CRITICAL POC
9.3 Jul 08

Account takeover in self-hosted Bitwarden Server before 2026.6.0 lets a low-privileged organization member steal any oth

CVE-2026-43639 HIGH POC
8.9 May 11

Provider service users in Bitwarden Server Cloud can hijack arbitrary organizations via unauthorized API endpoint access

CVE-2026-43640 HIGH POC
8.6 May 11

Authentication bypass in Bitwarden Server versions prior to 2026.4.1 allows authenticated users with SCIM management pri

CVE-2023-27974 HIGH POC
7.5 Mar 09

Bitwarden through 2023.2.1 offers password auto-fill when the second-level domain matches, e.g., a password stored for a

CVE-2026-57520 HIGH POC
7.1 Jun 25

Privilege escalation in self-hosted Bitwarden Server before 2026.5.0 lets an authenticated organization member holding a

CVE-2023-27706 HIGH POC
7.1 Jun 09

Bitwarden Windows desktop application versions prior to v2023.4.0 store biometric keys in Windows Credential Manager, ac

CVE-2026-71959 MEDIUM POC
6.9 Aug 10

Audit log integrity across all Bitwarden Server organizations can be undermined by any authenticated user, who may injec

CVE-2026-57521 MEDIUM POC
5.3 Jun 25

Broken access control in Bitwarden Server before 2026.5.0 exposes organization billing data to any authenticated user vi

CVE-2026-43638 MEDIUM POC
5.3 May 11

Bitwarden Server prior to v2026.4.1 allows any authenticated user to write ciphers (encrypted credentials) into arbitrar

CVE-2026-42994 HIGH
8.8 May 01

Malicious code injection in Bitwarden CLI 2026.4.0 distributed via npm for 90 minutes on April 22, 2026, enables remote

CVE-2020-15879 HIGH
7.5 Jul 21

Bitwarden Server 1.35.1 allows SSRF because it does not consider certain IPv6 addresses (ones beginning with fc, fd, fe,

CVE-2019-19766 HIGH
7.5 Dec 12

The Bitwarden server through 1.32.0 has a potentially unwanted KDF. Rated high severity (CVSS 7.5), this vulnerability i

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy