{"id":"CVE-2026-101878","published":"2026-09-29T02:16:54.990","lastModified":"2026-09-30T17:23:08.953","description":"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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-303"],"vendors":[],"products":[],"references":[{"url":"https://github.com/bitwarden/server/commit/27ae3d5455f723975fac03819eaeba8710666bc4","tags":[]},{"url":"https://github.com/bitwarden/server/pull/7501","tags":[]},{"url":"https://github.com/bitwarden/server/releases/tag/v2026.5.0","tags":[]},{"url":"https://sanjokkarki.com.np/blog/bitwarden-sso-externalid-truncation","tags":[]},{"url":"https://www.vulncheck.com/advisories/bitwarden-server-authentication-bypass-via-sso-identifier-truncation","tags":[]}],"exploitRefs":[{"url":"https://github.com/bitwarden/server/commit/27ae3d5455f723975fac03819eaeba8710666bc4","tags":[]},{"url":"https://github.com/bitwarden/server/pull/7501","tags":[]},{"url":"https://github.com/bitwarden/server/releases/tag/v2026.5.0","tags":[]}],"hasPoc":true,"ai":{"summary":"Bitwarden Server suffers from a silent truncation vulnerability where SSO identifiers longer than 50 characters are silently truncated to 50 characters, allowing attackers to impersonate legitimate users by using a partial identifier match. This creates a high-impact authentication bypass that can lead to full account access.","exploitability":"Exploitation requires an attacker to find a victim whose SSO identifier begins with another organization member's full 50-character identifier, making it moderately difficult but possible with knowledge of the target organization's user base.","blast_radius":"If exploited, attackers can gain full access to victim accounts and potentially escalate privileges within the organization, affecting all resources and data accessible to those accounts.","remediation":"Upgrade to Bitwarden Server 2026.5.0 or later to fix the NVARCHAR(50) truncation issue in the User_ReadBySsoUserOrganizationIdExternalId stored procedure.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["auth-bypass","sso","sql-injection","identity"],"model":"garnet-coder","analyzedAt":"2026-10-18T10:27:39.153Z"}}