CVE-2026-57522 Bitwarden Server < 2026.5.0 JSON Injection via Webhook Templates
Authenticated users can inject JSON into webhook templates via display names, altering event payloads sent to external integrations.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-57522?
CVE-2026-57522 is a low-severity code injection vulnerability in bitwarden server, published on 25 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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
Which versions are affected by CVE-2026-57522?
It affects 1 product.
Products include Bitwarden Server.
How do I fix CVE-2026-57522?
No fix has been published for CVE-2026-57522 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-57522 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-57522 exists.
Other vulnerabilities in bitwarden server
- CVE-2026-60104 Bitwarden Server < 2026.6.0 Authorization Bypass via Admin Auth Request
- CVE-2026-43639 Bitwarden Server < 2026.4.0 Missing Authorization via Provider Clients
- CVE-2026-43640 Bitwarden Server < 2026.4.1 Authentication Bypass via SCIM API Key
- CVE-2020-15879 Server-side request forgery in n/a
- CVE-2019-19766 Weak cryptography in n/a
Sources
Also known as GHSA-w6hw-45mp-qr7v.