{
  "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": "901bb67157c0f80d369c40b76742fdf7623da4e4"
            }
          ],
          "repo": "https://github.com/bitwarden/server",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57520.json"
  },
  "details": "Bitwarden Server before 2026.5.0 contains a privilege escalation vulnerability that allows authenticated Custom users with ManageUsers permission to remove Admin accounts from an organization by exploiting a missing role hierarchy check in the bulk user-remove endpoint. Attackers can supply Admin organization-user IDs in a bulk DELETE request to bypass the guard enforced on the single-user removal path, effectively removing one or more Admin accounts from an organization.",
  "id": "CVE-2026-57520",
  "modified": "2026-07-15T01:48:57.963755447Z",
  "published": "2026-06-25T19:08:41.189Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57520.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-57520"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/bitwarden-server-privilege-escalation-via-bulk-user-remove-endpoint"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/bitwarden/server/pull/7526"
    },
    {
      "type": "FIX",
      "url": "https://github.com/bitwarden/server/commit/901bb67157c0f80d369c40b76742fdf7623da4e4"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/bitwarden/server"
    },
    {
      "type": "EVIDENCE",
      "url": "https://sanjokkarki.com.np/blog/bitwarden-bulk-remove-admin"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Bitwarden Server \u003c 2026.5.0 Privilege Escalation via Bulk User Remove Endpoint"
}