CVE-2026-101878
7.7
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| bitwarden | bitwarden server | 2025.6.0 < 2026.5.0 | affected |
Weaknesses
- CWE-303: Incorrect Implementation of Authentication Algorithm
References
- https://sanjokkarki.com.np/blog/bitwarden-sso-externalid-truncation
- https://github.com/bitwarden/server/releases/tag/v2026.5.0
- https://github.com/bitwarden/server/pull/7501
- https://github.com/bitwarden/server/commit/27ae3d5455f723975fac03819eaeba8710666bc4
- https://www.vulncheck.com/advisories/bitwarden-server-authentication-bypass-via-sso-identifier-truncation
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.