VulnWatch by ve1ve2
medium 5.3 EPSS 0.17%

GHSA-jjxg-p3v6-52ww / CVE-2026-33420: Missing authorization check in /organizations/{org_id}/collections/details allows Manager-role users to enumerate all collections

Source:
Vaultwarden releases + advisories (GitHub dani-garcia/vaultwarden)
Published:
Fetched:
Updated:
Affects:
dani-garcia vaultwarden

https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-jjxg-p3v6-52ww ↗

repo-advisoryCWE-862securityrepo:dani-garcia/vaultwarden

Missing authorization check in /organizations/{org_id}/collections/details allows Manager-role users to enumerate all collections ## Summary The `get_org_collections_details` endpoint (`GET /api/organizations/{org_id}/collections/details`) in `src/api/core/organizations.rs` is missing the `has_full_access()` authorization check that exists on the sibling `get_org_collections` endpoint. This allows any Manager-role user with `accessAll=False` and no collection assignments to retrieve the names, UUIDs, user-to-collection mappings, and group-to-collection mappings for **all** collections in the organization. ## Affected Component - **File:** `src/api/core/organizations.rs` - **Function:** `get_org_collections_details` (line ~380) - **CWE:** CWE-862 (Missing Authorization) ## Details `get_org_collections` correctly gates access: ```rust if !headers.membership.has_full_access() { err_code!("Resource not found.", "User does not have full access", rocket::http::Status::NotFound.code); } ``` `get_org_collections_details` omits this check and instead only requires `ManagerHeadersLoose` (any Manager/Admin/Owner). It then calls `Collection::find_by_organization()`, returning all collections unconditionally. The per-collection `assigned` boolean is computed but not used to filter the response. ## Impact A Manager with restricted collection access can: - Enumerate all collection names (potentially revealing sensitive organizational structure, e.g. "Executive Passwords", "Financial Systems") - Discover which users have access to which collections - Map group-to-collection assignments This violates the principle of least privilege and can be used for reconnaissance prior to further attacks. ## Remediation Add the `has_full_access()` check to `get_org_collections_details`, or filter the returned collections to only those the Manager is assigned to — consistent with how `get_org_collections` behaves. Affected packages: :vaultwarden Patched: vaultwarden 1.35.5

Linked vulnerabilities (2)

Missing authorization check in /organizations/{org_id}/collections/details allows Manager-role users to enumerate all collections

CWE: CWE-862Aliases: CVE-2026-33420
CVE-2026-33420 medium 5.3 EPSS 0.17% (p6) NVDCVE.orgGHSA
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Missing authorization check in /organizations/{org_id}/collections/details allows Manager-role users to enumerate all collections

CWE: CWE-862Aliases: GHSA-jjxg-p3v6-52wwNVD: Analyzed