Description
Bitwarden Server before 2026.5.0 contains a JSON injection vulnerability in IntegrationTemplateProcessor.ReplaceTokens(), which substitutes user-controlled values into event-integration templates without JSON encoding. When an organization has configured an event integration whose template references a user-controlled token (such as #ActingUserName# or #UserName#, populated from a member's display name), an authenticated member can set their display name to JSON metacharacters and inject arbitrary key-value pairs into the rendered payloads delivered to webhook, SIEM, Slack, Teams, or Datadog endpoints, making injected fields indistinguishable from legitimate template output.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| bitwarden | server | < 2026.5.0 | 2026.5.0 |
Advisories 1
- WID-SEC-2026-2095 Bitwarden: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 25, 2026
References
- https://sanjokkarki.com.np/blog/bitwarden-webhook-json-injection technical-description exploit
- server 2026.5.0 Release Notes release-notes
- https://github.com/bitwarden/server/pull/7593 issue-tracking patch
- https://github.com/bitwarden/server/commit/a26afd18130ef985ede5c97d277820d045185a28 patch
- https://www.vulncheck.com/advisories/bitwarden-server-json-injection-via-webhook-templates third-party-advisory