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.
References
| Link | Resource |
|---|---|
| https://github.com/bitwarden/server/commit/a26afd18130ef985ede5c97d277820d045185a28 | Patch |
| https://github.com/bitwarden/server/pull/7593 | Issue Tracking |
| https://github.com/bitwarden/server/releases/tag/v2026.5.0 | Release Notes |
| https://sanjokkarki.com.np/blog/bitwarden-webhook-json-injection | Exploit Patch Third Party Advisory |
| https://www.vulncheck.com/advisories/bitwarden-server-json-injection-via-webhook-templates | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-06-25 20:17
Updated : 2026-07-14 22:17
NVD link : CVE-2026-57522
Mitre link : CVE-2026-57522
CVE.ORG link : CVE-2026-57522
JSON object : View
Products Affected
bitwarden
- server
CWE
CWE-74
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
