What’s Vulnerable › Vulnerabilities

CVE-2026-57522: Bitwarden Server < 2026.5.0 JSON Injection via Webhook Templates

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

How to fix

Upgrade to a fixed version: bitwarden server 2026.5.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-57522 or the next vulnerability affects your stack