{"vuln_id":"GHSA-88qc-6ch9-mc3j","aliases":[],"description":"Directory-connector member import (ldap_import) skips org-policy enforcement (check_user_allowed), bypassing the Single-Organization and required-2FA policies","published_at":"2026-10-03T20:05:00Z","modified_at":"2026-10-03T20:05:00Z","first_seen_at":"2026-11-22T13:40:16.276904Z","severity":"medium","severity_source":"ghsa","cvss_score":5.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/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-88qc-6ch9-mc3j"},"matched_alias":null,"items":[{"id":12046,"source":{"id":"gh-vaultwarden","name":"Vaultwarden releases + advisories (GitHub dani-garcia/vaultwarden)"},"title":"GHSA-88qc-6ch9-mc3j: Directory-connector member import (ldap_import) skips org-policy enforcement (check_user_allowed), bypassing the Single-Organization and required-2FA policies","summary":"Directory-connector member import (ldap_import) skips org-policy enforcement (check_user_allowed), bypassing the Single-Organization and required-2FA policies\n\n## Summary\r\nThe directory-connector / bulk member-import endpoint `POST /api/public/organization/import`\r\n(`src/api/core/public.rs`, `ldap_import`) activates and re-activates organization members **without\r\ncalling `OrgPolicy::check_user_allowed`** — the policy gate that every interactive\r\nmembership-activation path applies. A member admitted or re-admitted through directory sync is\r\ntherefore never checked against the organization's **Single-Organization** or **required-2FA**\r\npolicies. This is the one activation path missed by the fix for #1849.\r\n\r\n## Relationship to prior art (a precise incomplete-fix residual, not a rediscovery)\r\n- **#1849** (\"org two-step-login policy enforcement doesn't work\", CLOSED) is the fix this residual\r\n  belongs to: it added `OrgPolicy::check_user_allowed` to the interactive membership-activation\r\n  paths. **This report is the one activation path that fix missed** — the directory-connector import.\r\n- A separate report of mine is the **sibling instance of\r\n  the same pattern** — \"a check present on the primary path, absent on an alternate path.\" The two\r\n  together motivate a systemic audit of alternate entrypoints (see last section).\r\n- **#6780** (\"SSO user bypasses org 2FA\", OPEN) is an acknowledged **same-class** bypass on a\r\n  **different** path, confirming the maintainer treats this enforcement area as live.\r\n- A refresh-token / security-stamp advisory is **distinct** — a membership revoke does not rotate the\r\n  security stamp, so it does not cover this scenario (confirmed empirically on 1.36.0).\r\n\r\n## Affected versions\r\n- `1.36.0` and earlier — confirmed on 1.36.0.\r\n- Fixed in `1.37.0`: `ldap_import` now calls `OrgPolicy::check_user_allowed` after `restore()` and re-revokes members the policy disallows.\r\n- The `check_user_allowed` enforcement (added for #1849) covers the interactive activation paths but\r\n  was never added to the public-import path.\r\n\r\n## Root cause\r\nIssue #1849 was fixed by adding `OrgPolicy::check_user_allowed` to the membership-activation paths —\r\n`_confirm_invite` (`organizations.rs:1427`), `restore_member_impl` (`organizations.rs:2402`),\r\n`accept_org_invite`, `edit_member`, and the admin path. `check_user_allowed`\r\n(`src/db/models/org_policy.rs:283`) enforces **both** the Single-Organization policy and the\r\nrequired-2FA policy.\r\n\r\nThe directory-connector import endpoint `POST /api/public/organization/import`\r\n(`src/api/core/public.rs`, `ldap_import`) was missed: it re-Confirms a revoked member via\r\n`member.restore()` (~`public.rs:87`) **without calling `check_user_allowed`**. (New members are\r\ncreated as `Accepted` (~`public.rs:107-110`) and would still be checked at the admin `confirm` step;\r\nthe airtight bypass is the `restore()` → `Confirmed` path, which skips `confirm` entirely.)\r\n\r\n## Impact\r\n\r\n### Primary — Single-Organization policy bypass (needs no 2FA at all)\r\nA member who should be blocked/removed by the Single-Org policy is silently re-Confirmed via directory-connector\r\nimport, b\n\nAffected packages: rust:vaultwarden\nPatched: vaultwarden 1.37.0","url":"https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-88qc-6ch9-mc3j","published_at":"2026-10-03T20:05:00Z","updated_at":"2026-10-03T20:05:00Z","fetched_at":"2026-11-22T13:40:16.224714Z","severity":"medium","cvss_score":5.5,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"dani-garcia","product":"vaultwarden","vuln_id":"GHSA-88qc-6ch9-mc3j","vuln_ids":["GHSA-88QC-6CH9-MC3J"],"tags":["repo-advisory","rust","CWE-862","security","repo:dani-garcia/vaultwarden"],"cluster_id":11360,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12046","html":"https://vulnwatch.ve1ve2.com/item/12046"}},{"id":12710,"source":{"id":"gh-vaultwarden","name":"Vaultwarden releases + advisories (GitHub dani-garcia/vaultwarden)"},"title":"[SECURITY RELEASE] dani-garcia/vaultwarden 1.37.0","summary":"Fixes advisories: GHSA-hw4g-2v3f-74x5, GHSA-rxhg-2pw9-vf25, GHSA-455c-vgg9-jxw8, GHSA-wc45-m6pv-rrf9, GHSA-rqf8-2568-r7mc, GHSA-88qc-6ch9-mc3j, GHSA-xwf8-pjh7-h589, GHSA-vh5m-fc9v-m84g, GHSA-f3qw-qg77-hmm4, GHSA-96f7-78q5-j345, GHSA-jq2g-h4xr-4mcr\n\nSecurity keywords: security, ssrf, GHSA-HW4G-2V3F-74X5, GHSA-VH5M-FC9V-M84G, GHSA-XWF8-PJH7-H589, GHSA-88QC-6CH9-MC3J, GHSA-RXHG-2PW9-VF25, GHSA-96F7-78Q5-J345, GHSA-455C-VGG9-JXW8, GHSA-F3QW-QG77-HMM4, GHSA-JQ2G-H4XR-4MCR, GHSA-RQF8-2568-R7MC\n\n## Note\r\nThis update is required for support with clients with version 2026.7.0+, please update before reporting any issues with them.\r\n\r\n## Security Fixes\r\nThis release contains security fixes for the following advisories. We strongly advice to update as soon as possible.\r\n- SSRF via the icon endpoint [[GHSA-hw4g-2v3f-74x5]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-hw4g-2v3f-74x5) [[GHSA-vh5m-fc9v-m84g]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-vh5m-fc9v-m84g) (**Medium**, 5.8 / 6.3)\r\n- Cross-Organization Cipher Access [[GHSA-xwf8-pjh7-h589]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-xwf8-pjh7-h589) (**Medium**, 5.9)\r\n- Organization Policy Bypass on Directory Import [[GHSA-88qc-6ch9-mc3j]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-88qc-6ch9-mc3j) (**Medium**, 5.5)\r\n- Send Access-Count Bypass [[GHSA-rxhg-2pw9-vf25]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-rxhg-2pw9-vf25) (**Medium**, 5.3)\r\n- Unauthenticated WebSocket Flooding DDOS [[GHSA-96f7-78q5-j345]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-96f7-78q5-j345) (**Medium**, 5.3)\r\n- Cross-Organization Secret Sharing [[GHSA-455c-vgg9-jxw8]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-455c-vgg9-jxw8) (**Medium**, 4.3)\r\n- Organization Import Authorization [[GHSA-f3qw-qg77-hmm4]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-f3qw-qg77-hmm4)[[GHSA-jq2g-h4xr-4mcr]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-jq2g-h4xr-4mcr) (**Medium**, 4.3)\r\n- Organization Data Enumeration via the Manager role [[GHSA-rqf8-2568-r7mc]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-rqf8-2568-r7mc) (**Medium**, 4.3)\r\n\r\nThese are private for now, pending CVE assignment and publishing at a later date.\r\n\r\n## What's Changed\r\n* OpenDAL S3 parameter support by @txase in https://github.com/dani-garcia/vaultwarden/pull/6127\r\n* Fix SSO Cookie path by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/7187\r\n* fix email 2fa for bw cli by @stefan0xC in https://github.com/dani-garcia/vaultwarden/pull/7225\r\n* sso_auth improvements by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7197\r\n* Reject unrecognised DATABASE_URL instead of silent SQLite fallback by @mfw78 in https://github.com/dani-garcia/vaultwarden/pull/7061\r\n* Switch to `xx-cargo` by @dfunkt in https://github.com/dani-garcia/vaultwarden/pull/6640\r\n* Updates and fixes by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/7235\r\n* Switch to Edition 2024, more clippy lints, and less macro calls by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/7200\r\n* Serve Apple app site association file by @user71424q in https://github.com/dani-garcia/vaultwarden/pull/7191\r\n* Update Rust, Crates and GHA by @BlackDex in https://github.com/dani-garcia/vaultwarden/pull/7307\r\n* Fix enforce blocked by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7246\r\n* Admin password recovery endpoint change by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7270\r\n* fix(sends): emit hideEmail as non-null boolean in sync response by @kvdb in https://github.com/dani-garcia/vaultwarden/pull/7283\r\n* Org membership delete remove Invitation by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7284\r\n* [v2026.5.0] Registration request update by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7295\r\n* [v2026.5.0] PutPolicy now using vnext format by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7296\r\n* 2026.6.0 send support by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7346\r\n* Add SSO_AUTHORIZE_BODY by @Timshel in https://github.com/dani-garcia/vaultwarden/pull/7357\r\n* Add `pm-26340-linux-biometrics-v2` feature flag by @pilotstew in https://github.com/dani-garcia/vaultwarden/pull/7358\r\n* improve CI by @TriplEight in https://github.com","url":"https://github.com/dani-garcia/vaultwarden/releases/tag/1.37.0","published_at":"2026-07-24T17:04:39Z","updated_at":null,"fetched_at":"2026-11-22T14:05:38.135281Z","severity":"medium","cvss_score":5.9,"epss":0.0033,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"dani-garcia","product":"vaultwarden","vuln_id":"CVE-2026-116678","vuln_ids":["CVE-2026-116678","CVE-2026-33420","CVE-2026-47160","GHSA-455C-VGG9-JXW8","GHSA-72VH-X5JQ-M82G","GHSA-88QC-6CH9-MC3J","GHSA-96F7-78Q5-J345","GHSA-F3QW-QG77-HMM4","GHSA-HW4G-2V3F-74X5","GHSA-JJXG-P3V6-52WW","GHSA-JQ2G-H4XR-4MCR","GHSA-RQF8-2568-R7MC","GHSA-RXHG-2PW9-VF25","GHSA-VH5M-FC9V-M84G","GHSA-WC45-M6PV-RRF9","GHSA-XWF8-PJH7-H589"],"tags":["release","repo:dani-garcia/vaultwarden","security","stack","vaultwarden"],"cluster_id":11350,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12710","html":"https://vulnwatch.ve1ve2.com/item/12710"}}]}