// vulnerability record
cached · NVD via COSMOS syncCVE-2026-57522
LOWpublished 2026-06-25 20:17 UTC · 3 days ago · modified 2026-06-27 20:39 UTC
// 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.
// cvss 4.0 vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
// weaknesses (CWE)
- CWE-74
// references (5)
- https://github.com/bitwarden/server/commit/a26afd18130ef985ede5c97d277820d045185a28
- https://github.com/bitwarden/server/pull/7593
- https://github.com/bitwarden/server/releases/tag/v2026.5.0
- https://sanjokkarki.com.np/blog/bitwarden-webhook-json-injection
- https://www.vulncheck.com/advisories/bitwarden-server-json-injection-via-webhook-templates