CVE-2026-57522 Details
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.
A JSON injection vulnerability has been identified in Bitwarden Server versions prior to 2026.5.0. The issue arises in the 'IntegrationTemplateProcessor.ReplaceTokens()' method, which inserts user-controlled values into event integration templates without proper JSON encoding. This vulnerability allows authenticated members to inject arbitrary key-value pairs into payloads sent to webhook, SIEM, Slack, Teams, or Datadog endpoints. The injected fields can easily be mistaken for legitimate template output.
Users can update to Bitwarden Server version 2026.5.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/bitwarden/server/commit/a26afd18130ef985ede5c97d277820d045185a28 | [email protected] | Patch |
| https://github.com/bitwarden/server/pull/7593 | [email protected] | Issue Tracking |
| https://github.com/bitwarden/server/releases/tag/v2026.5.0 | [email protected] | Release Notes |
| https://sanjokkarki.com.np/blog/bitwarden-webhook-json-injection | [email protected] | ExploitPatchThird Party Advisory |
| https://www.vulncheck.com/advisories/bitwarden-server-json-injection-via-webhook-templates | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| bitwarden server | < 2026.5.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 27, 2026 | Initial Analysis | [email protected] |
| Jun 26, 2026 | CVE Modified | CISA-ADP |
| Jun 25, 2026 | New CVE Received | [email protected] |