{"id":"CVE-2026-101878","published":"2026-09-29T02:16:54.990","lastModified":"2026-09-29T18:17:06.610","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":null}