CVE-2026-57522
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.
Weakness
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-06-26 |
Timeline
- 2026-06-25Published by the CNA19:09 UTC
- 2026-06-26CISA SSVC decision recorded1 day after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| bitwarden server | before 2026.5.0fixed in 2026.5.0 | 2026.5.0 |
References
- https://github.com/bitwarden/server/commit/a26afd18130ef985ede5c97d277820d045185a28
- https://github.com/bitwarden/server/pull/7593
- https://sanjokkarki.com.np/blog/bitwarden-webhook-json-injection
- https://github.com/bitwarden/server/releases/tag/v2026.5.0
- https://www.vulncheck.com/advisories/bitwarden-server-json-injection-via-webhook-templates
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-57522'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-57522'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-57522'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-57522'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).