GHSA-h265-g7rm-h337 / CVE-2026-26012: Full Cipher Enumeration Ignoring Organization Collection Permissions
- Published:
- Fetched:
- Updated:
- Affects:
- dani-garcia vaultwarden
https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-h265-g7rm-h337 ↗
Full Cipher Enumeration Ignoring Organization Collection Permissions A regular organization member can retrieve **all ciphers within an organization**, regardless of collection permissions. The endpoint `/ciphers/organization-details` is accessible to any organization member and internally uses `Cipher::find_by_org` to retrieve all ciphers. These ciphers are returned with `CipherSyncType::Organization` **without enforcing collection-level access control**. ## Attack Preconditions * The attacker is a member of the target organization (User, Manager, Admin, or Owner). * The organization contains one or more collections to which the attacker does **not** have access. ## Attack Scenario 1. The attacker (a regular organization member) joins the organization. 2. The attacker calls `/ciphers/organization-details` for the organization, including collections they do not have permission to access. 3. The response contains **all ciphers in the organization**, ignoring collection restrictions, allowing the attacker to obtain other members’ data (encrypted cipher data, keys, and attachment metadata). ## Potential Impact * Collection-based access separation within the organization is bypassed, significantly reducing data confidentiality. * Access to encrypted cipher data, keys, and attachment metadata may directly lead to data disclosure if client-side decryption is possible. Affected packages: :vaultwarden Patched: vaultwarden 1.35.3