CVE-2026-27802
Vaultwarden: Privilege Escalation via Bulk Permission Update to Unauthorized Collections by Manager
Vaultwarden is an unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs. Prior to version 1.35.4, there is a privilege escalation vulnerability via bulk permission update to unauthorized collections by Manager. This issue has been patched in version 1.35.4.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
8.3
Vaultwarden: Privilege Escalation via Bulk Permission Update to Unauthorized Collections by Manager
Vaultwarden is an unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs. Prior to version 1.35.4, there is a privilege escalation vulnerability via bulk permission update to unauthorized collections by Manager. This issue has been patched in version 1.35.4.
- Record
CVE-2026-27802- CVSS 3.1
- 8.3 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L - Weakness
- CWE-269, CWE-863
- Updated
- 2026-11-02
EUVDEUVD-2026-9502
8.3
Vaultwarden is an unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs. Prior to version 1.35.4, there is a privilege escalation vulnerability via bulk permission update to unauthorized collections by Manager. This issue has been patched in version 1.35.4.
- Record
EUVD-2026-9502- CVSS 3.1
- 8.3 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-r32r-j5jq-3w4m
8.3
Vaultwarden has Privilege Escalation via Bulk Permission Update to Unauthorized Collections by Manager
Summary
A Manager account (access_all=false) was able to escalate privileges by directly invoking the bulk-access API against collections that were not originally assigned to them.
The API allowed changing assigned=false to assigned=true, resulting in unauthorized access.
Additionally, prior to the bulk-access call, the regular single-update API correctly returned 401 Unauthorized for the same collection. After executing the bulk-access API, the same update API returned 200 OK, confirming an authorization gap at the HTTP level.
Description
-
The endpoint accepts
ManagerHeadersLooseand does not validate access rights for the specifiedcollectionIds. src/api/core/organizations.rs:551headers: ManagerHeadersLoose, -
The received
collection_idsare processed directly without per-collection authorization checks. src/api/core/organizations.rs:564for col_id in data.collection_ids { -
Existing group assignments for the collection are deleted. src/api/core/organizations.rs:583
CollectionGroup::delete_all_by_collection(&col_id, &conn).await?; -
Existing user assignments for the collection are deleted. src/api/core/organizations.rs:590
CollectionUser::delete_all_by_collection(&col_id, &conn).await?; -
By comparison, another bulk-processing endpoint performs per-collection validation using
from_loose. src/api/core/organizations.rs:787let headers = ManagerHeaders::from_loose(headers, &collections, &conn).await?; -
The actual access control logic is implemented in
can_access_collection, which is not invoked in the bulk-access endpoint. src/auth.rs:911if !Collection::can_access_collection(&h.membership, col_id, conn).await {
Preconditions
- The attacker possesses a valid Manager account within the target organization.
- The organization contains collections that are not assigned to the attacker.
- The attacker can authenticate through the standard API login process (Owner/Admin privileges are not required).
Steps to Reproduce
-
Log in as a Manager and obtain a Bearer token. <img width="4016" height="1690" alt="image" src="https://github.com/user-attachments/assets/218f05e2-6a2e-4066-8f8d-6bbef1cc5858" />
-
Confirm the current values of
assigned,manage,readOnly, andhidePasswordsfor the target collection. <img width="4026" height="1694" alt="image" src="https://github.com/user-attachments/assets/a6d2fc70-5370-4984-85bd-a6f74febdfa3" /> -
Verify that the standard update API returns 401 Unauthorized when attempting to modify the unassigned collection. <img width="4030" height="1708" alt="image" src="https://github.com/user-attachments/assets/802f0d2b-d474-44d2-beef-b4f7f3335225" />
-
Invoke the bulk-access API, including: <img width="4036" height="1120" alt="image" src="https://github.com/user-attachments/assets/1d3caa01-3ac2-4636-9ed0-189e5923c986" />
collectionIdscontaining the target collectionuserscontaining the attacker’s ownmembership_idConfirm that the API returns 200 OK.
-
Re-run the standard update API. Confirm that it now succeeds and that the previously unauthorized modification is applied. <img width="4040" height="1440" alt="image" src="https://github.com/user-attachments/assets/340e9676-d802-404c-b894-9986a176360a" />
Required Minimum Privileges
- Manager role within the target organization
(the issue occurs even when
access_all=false)
Attack Scenario
A delegated administrator or department-level Manager within an organization directly calls the API to add themselves to unauthorized collections and gain access to confidential information.
Because the bulk update process deletes and reassigns existing permissions, the attacker can also remove other users’ access, enabling denial-of-service or sabotage within the organization.
##…
- Record
GHSA-r32r-j5jq-3w4m- CVSS 3.1
- 8.3 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L - Weakness
- CWE-269, CWE-863
- Updated
- 2026-11-02
NVD
8.3
Vaultwarden is an unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs. Prior to version 1.35.4, there is a privilege escalation vulnerability via bulk permission update to unauthorized collections by Manager. This issue has been patched in version 1.35.4.
- Record
CVE-2026-27802- CVSS 3.1
- 8.3 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L - Weakness
- CWE-269, CWE-863
- Updated
- 2026-11-02
OSV
8.3
Vaultwarden: Privilege Escalation via Bulk Permission Update to Unauthorized Collections by Manager
Vaultwarden is an unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs. Prior to version 1.35.4, there is a privilege escalation vulnerability via bulk permission update to unauthorized collections by Manager. This issue has been patched in version 1.35.4.
- Record
CVE-2026-27802- CVSS 3.1
- 8.3 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L - Weakness
- CWE-269, CWE-863
- Updated
- 2026-11-02
OSVGHSA-r32r-j5jq-3w4m
8.3
Vaultwarden has Privilege Escalation via Bulk Permission Update to Unauthorized Collections by Manager
Summary
A Manager account (access_all=false) was able to escalate privileges by directly invoking the bulk-access API against collections that were not originally assigned to them.
The API allowed changing assigned=false to assigned=true, resulting in unauthorized access.
Additionally, prior to the bulk-access call, the regular single-update API correctly returned 401 Unauthorized for the same collection. After executing the bulk-access API, the same update API returned 200 OK, confirming an authorization gap at the HTTP level.
Description
-
The endpoint accepts
ManagerHeadersLooseand does not validate access rights for the specifiedcollectionIds. src/api/core/organizations.rs:551headers: ManagerHeadersLoose, -
The received
collection_idsare processed directly without per-collection authorization checks. src/api/core/organizations.rs:564for col_id in data.collection_ids { -
Existing group assignments for the collection are deleted. src/api/core/organizations.rs:583
CollectionGroup::delete_all_by_collection(&col_id, &conn).await?; -
Existing user assignments for the collection are deleted. src/api/core/organizations.rs:590
CollectionUser::delete_all_by_collection(&col_id, &conn).await?; -
By comparison, another bulk-processing endpoint performs per-collection validation using
from_loose. src/api/core/organizations.rs:787let headers = ManagerHeaders::from_loose(headers, &collections, &conn).await?; -
The actual access control logic is implemented in
can_access_collection, which is not invoked in the bulk-access endpoint. src/auth.rs:911if !Collection::can_access_collection(&h.membership, col_id, conn).await {
Preconditions
- The attacker possesses a valid Manager account within the target organization.
- The organization contains collections that are not assigned to the attacker.
- The attacker can authenticate through the standard API login process (Owner/Admin privileges are not required).
Steps to Reproduce
-
Log in as a Manager and obtain a Bearer token. <img width="4016" height="1690" alt="image" src="https://github.com/user-attachments/assets/218f05e2-6a2e-4066-8f8d-6bbef1cc5858" />
-
Confirm the current values of
assigned,manage,readOnly, andhidePasswordsfor the target collection. <img width="4026" height="1694" alt="image" src="https://github.com/user-attachments/assets/a6d2fc70-5370-4984-85bd-a6f74febdfa3" /> -
Verify that the standard update API returns 401 Unauthorized when attempting to modify the unassigned collection. <img width="4030" height="1708" alt="image" src="https://github.com/user-attachments/assets/802f0d2b-d474-44d2-beef-b4f7f3335225" />
-
Invoke the bulk-access API, including: <img width="4036" height="1120" alt="image" src="https://github.com/user-attachments/assets/1d3caa01-3ac2-4636-9ed0-189e5923c986" />
collectionIdscontaining the target collectionuserscontaining the attacker’s ownmembership_idConfirm that the API returns 200 OK.
-
Re-run the standard update API. Confirm that it now succeeds and that the previously unauthorized modification is applied. <img width="4040" height="1440" alt="image" src="https://github.com/user-attachments/assets/340e9676-d802-404c-b894-9986a176360a" />
Required Minimum Privileges
- Manager role within the target organization
(the issue occurs even when
access_all=false)
Attack Scenario
A delegated administrator or department-level Manager within an organization directly calls the API to add themselves to unauthorized collections and gain access to confidential information.
Because the bulk update process deletes and reassigns existing permissions, the attacker can also remove other users’ access, enabling denial-of-service or sabotage within the organization.
##…
- Record
GHSA-r32r-j5jq-3w4m- CVSS 3.1
- 8.3 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L - Weakness
- CWE-269, CWE-863
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
vaultwardencrates.io |
through 1.35.3 | 1.35.4 |
vaultwardencrates.io |
before 1.35.4 | 1.35.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-27802 is a high vulnerability (CVSS 8.3) in Dani-garcia Vaultwarden, published March 4, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.33%, the 26th percentile. Fixed in vaultwarden 1.35.4.
References
Left out here: the rest of 2 source descriptions. The JSON record has them.