{"vuln_id":"CVE-2026-43913","aliases":["GHSA-937x-3j8m-7w7p"],"description":"Unconfirmed Owner Can Purge Entire Organization Vault","published_at":"2026-04-25T20:49:36Z","modified_at":"2026-05-04T17:50:16Z","first_seen_at":"2026-11-22T13:40:16.284001Z","severity":"high","severity_source":"ghsa","cvss_score":8.1,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","cwe":["CWE-863"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00267,"epss_percentile":0.18991,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-43913"},"matched_alias":null,"items":[{"id":12057,"source":{"id":"gh-vaultwarden","name":"Vaultwarden releases + advisories (GitHub dani-garcia/vaultwarden)"},"title":"GHSA-937x-3j8m-7w7p / CVE-2026-43913: Unconfirmed Owner Can Purge Entire Organization Vault","summary":"Unconfirmed Owner Can Purge Entire Organization Vault ## Summary An invited organization owner can purge the entire organization vault after reaching `Accepted` state, before any existing owner confirms them. This is a server-side authorization bypass in the org-invite confirmation flow: 1. accepting an invite moves the membership from `Invited` to `Accepted` 2. confirmation is a separate step that later upgrades `Accepted` to `Confirmed` 3. most privileged org routes correctly require `Confirmed` 4. `POST /api/ciphers/purge?organizationId=` does not; it only checks `member.atype == Owner` As a result, a not-yet-confirmed owner can hard-delete every cipher and attachment in the organization. ## Impact This is a destructive authorization bypass on organization-wide ownership privileges. A user who is intentionally still pending confirmation can: - purge the entire organization vault - hard-delete all organization ciphers - delete all attachments linked to those ciphers - cause immediate organization-wide data loss before the invite is confirmed This breaks the security boundary that the `Accepted -> Confirmed` step is supposed to enforce. ## Exploit Scenario Assume: - attacker controls an email address invited as an `Owner` into `Org A` - attacker is not yet confirmed by an existing owner - attacker has a normal authenticated session on their own account Steps: 1. Attacker accepts the org invite. Result: membership becomes `Accepted`, not `Confirmed`. 2. Before any owner confirms them, attacker calls: ```http POST /api/ciphers/purge?organizationId= Authorization: Bearer Content-Type: application/json { \"masterPasswordHash\": \"\", \"otp\": null } ``` Expected behavior: - request should be rejected because org-wide destructive owner actions should require a `Confirmed` owner Actual behavior: - server looks up the membership - server only checks `member.atype == Owner` - server deletes every cipher in the organization - each cipher delete also removes attachments, collection links, favorites, and related records ## Root Cause Invite acceptance is intentionally separate from confirmation: - `accept_org_invite()` transitions `Invited -> Accepted` - `_confirm_invite()` transitions `Accepted -> Confirmed` Privileged org guards reflect this design: - `OwnerHeaders` only accepts `is_confirmed_and_owner()` But the org purge endpoint bypasses those guards entirely: - it uses plain `Headers` - it loads the membership with `Membership::find_by_user_and_org()` - it authorizes solely on `member.atype == MembershipType::Owner` - it never checks `member.status == Confirmed` That means a pending owner receives full destructive owner power earlier than intended. ## Code References - Invite acceptance sets `Accepted`: - `src/api/core/mod.rs:263-279` - New-account setup also auto-runs invite acceptance: - `src/api/core/accounts.rs:375-3 Affected packages: rust:vaultwarden Patched: vaultwarden 1.35.5","url":"https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-937x-3j8m-7w7p","published_at":"2026-04-25T20:49:36Z","updated_at":"2026-05-04T17:50:16Z","fetched_at":"2026-11-22T13:40:16.224734Z","severity":"high","cvss_score":8.1,"epss":0.00267,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"dani-garcia","product":"vaultwarden","vuln_id":"CVE-2026-43913","vuln_ids":["CVE-2026-43913","GHSA-937X-3J8M-7W7P"],"tags":["repo-advisory","rust","CWE-863","security","repo:dani-garcia/vaultwarden"],"cluster_id":11374,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12057","html":"https://vulnwatch.ve1ve2.com/item/12057"}},{"id":12715,"source":{"id":"gh-vaultwarden","name":"Vaultwarden releases + advisories (GitHub dani-garcia/vaultwarden)"},"title":"[SECURITY RELEASE] dani-garcia/vaultwarden 1.35.5","summary":"Fixes advisories: GHSA-937x-3j8m-7w7p, GHSA-569v-845w-g82p, GHSA-6j4w-g4jh-xjfx, GHSA-jjxg-p3v6-52ww, GHSA-x7g7-cgx5-jhx2\n\nSecurity keywords: security, GHSA-937X-3J8M-7W7P, GHSA-569V-845W-G82P, GHSA-6J4W-G4JH-XJFX\n\n## Security Fixes\r\nThis release contains security fixes for the following advisories. We strongly advice to update as soon as possible.\r\n- [GHSA-937x-3j8m-7w7p](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-937x-3j8m-7w7p) Unconfirmed Owner Can Purge Entire Organization Vault.\r\n- [GHSA-569v-845w-g82p](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-569v-845w-g82p) Cross-Org Group Binding Enables Unauthorized Read And Write Access Into Another Organization\r\n- [GHSA-6j4w-g4jh-xjfx](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-6j4w-g4jh-xjfx) Refresh tokens not invalidated on security stamp rotation\r\n\r\nThese are private for now, pending CVE assignment.\r\n\r\n## Notes\r\n- The admin templates have changed, please update them if you override these via templates.\r\n- Two Factor Remember Tokens are now valid for max 30 days. Old tokens are invalid directly after upgrading.\r\n\r\n## What's Changed\r\n* apply policies only to confirmed members by @stefan0xC in https://github.com/dani-garcia/vaultwarden/pull/6892\r\n* Feat(config): add feature flag for Safari account switching by @DerPlayer2001 in https://github.com/dani-garcia/vaultwarden/pull/6891\r\n* fix: add ForcePasswordReset to api key login by @montdidier in https://github.com/dani-garcia/vaultwarden/pull/6904\r\n* Add Webauthn related origins flag to known flags. by @pasarenicu in https://github.com/dani-garcia/vaultwarden/pull/6900\r\n* Add 30s cache to SSO exchange_refresh_token by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/6866\r\n* Add cxp-import-mobile and cxp-export-mobile: feature flags on mobile by @phoeagon in https://github.com/dani-garcia/vaultwarden/pull/6853\r\n* Misc updates and fixes by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/6910\r\n* Support new desktop origin on CORS by @dani-garcia in https://github.com/dani-garcia/vaultwarden/pull/6920\r\n* Fix `checkout` action version by @dfunkt in https://github.com/dani-garcia/vaultwarden/pull/6921\r\n* Fix apikey login by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/6922\r\n* Fix email header base64 padding by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/6961\r\n* Update Feature Flags by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/6981\r\n* Update crates and GHA by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/6980\r\n* Use protected CI environment by @dani-garcia in https://github.com/dani-garcia/vaultwarden/pull/7004\r\n* Fix 2FA Remember to actually be 30 days by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/6929\r\n* Misc Updates by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/7027\r\n* Switch to `attest` action by @dfunkt in https://github.com/dani-garcia/vaultwarden/pull/7017\r\n* Rotate refresh-tokens on sstamp reset by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/7031\r\n* Misc org fixes by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/7032\r\n* Fix empty string FolderId by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/7048\r\n* Disable deployments for release env by @dfunkt in https://github.com/dani-garcia/vaultwarden/pull/7033\r\n* Fix Send icons by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/7051\r\n* prevent managers from creating collections by @stefan0xC in https://github.com/dani-garcia/vaultwarden/pull/6890\r\n* Change SQLite backup to use VACUUM INTO query by @getaaron in https://github.com/dani-garcia/vaultwarden/pull/6989\r\n* Handle `SIGTERM` and `SIGQUIT` shutdown signals. by @0x484558 in https://github.com/dani-garcia/vaultwarden/pull/7008\r\n* Do not display unavailable 2FA options by @0x484558 in https://github.com/dani-garcia/vaultwarden/pull/7013\r\n* Fix logout push identifiers and send logout before clearing devices by @qaz741wsd856 in https://github.com/dani-garcia/vaultwarden/pull/7047\r\n* Fix windows build issues by @idontneedonetho in https://github.com/dani-garcia/vaultwarden/pull/7065\r\n* Crat","url":"https://github.com/dani-garcia/vaultwarden/releases/tag/1.35.5","published_at":"2026-04-12T15:59:21Z","updated_at":null,"fetched_at":"2026-11-22T14:05:38.135285Z","severity":"high","cvss_score":8.7,"epss":0.00289,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"dani-garcia","product":"vaultwarden","vuln_id":"CVE-2026-43913","vuln_ids":["CVE-2026-31835","CVE-2026-33420","CVE-2026-43911","CVE-2026-43912","CVE-2026-43913","GHSA-569V-845W-G82P","GHSA-6J4W-G4JH-XJFX","GHSA-937X-3J8M-7W7P","GHSA-JJXG-P3V6-52WW","GHSA-X7G7-CGX5-JHX2"],"tags":["release","repo:dani-garcia/vaultwarden","security","stack","vaultwarden"],"cluster_id":11374,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12715","html":"https://vulnwatch.ve1ve2.com/item/12715"}}]}