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

Low 2.3 Published Updated

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.

Sources

Also known as GHSA-w6hw-45mp-qr7v.

Is CVE-2026-57522 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free