{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:bitwarden:server:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2026.5.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c3cabffccfe35004f5022f91f95cc0fb5e8aa7c4"
            },
            {
              "fixed": "a26afd18130ef985ede5c97d277820d045185a28"
            }
          ],
          "repo": "https://github.com/bitwarden/server",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-74"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57522.json"
  },
  "details": "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.",
  "id": "CVE-2026-57522",
  "modified": "2026-07-16T03:31:18.779053203Z",
  "published": "2026-06-25T19:09:33.881Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57522.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/bitwarden/server/releases/tag/v2026.5.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57522"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/bitwarden-server-json-injection-via-webhook-templates"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/bitwarden/server/pull/7593"
    },
    {
      "type": "FIX",
      "url": "https://github.com/bitwarden/server/commit/a26afd18130ef985ede5c97d277820d045185a28"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/bitwarden/server"
    },
    {
      "type": "EVIDENCE",
      "url": "https://sanjokkarki.com.np/blog/bitwarden-webhook-json-injection"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Bitwarden Server \u003c 2026.5.0 JSON Injection via Webhook Templates"
}