---
id: CVE-2026-57522
title: Bitwarden Server < 2026.5.0 JSON Injection via Webhook Templates
summary: >-
  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 organizati…
severity: low
cvss: 3.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-74
vendor: bitwarden
product: server
affected:
  - server < 2026.5.0
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-06-26T14:04:15.668971Z'
exploitAvailable: true
published: '2026-06-25'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:06:32.815Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-57522'
references:
  - url: 'https://sanjokkarki.com.np/blog/bitwarden-webhook-json-injection'
  - url: 'https://github.com/bitwarden/server/releases/tag/v2026.5.0'
    label: server 2026.5.0 Release Notes
  - url: 'https://github.com/bitwarden/server/pull/7593'
  - url: >-
      https://github.com/bitwarden/server/commit/a26afd18130ef985ede5c97d277820d045185a28
  - url: >-
      https://www.vulncheck.com/advisories/bitwarden-server-json-injection-via-webhook-templates
tags:
  - cve.org
  - exploit-available
epss: 0.00455
epssPercentile: 0.39704
ingestedAt: '2026-11-08T14:51:22.324Z'
---

## Overview

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

- `server < 2026.5.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
