Skip to main content
Blue Moose logo Blue Moose Field notes
← All articles
vaultwarden

Vaultwarden 1.37.4: revoked members kept access

A hand holding a phone with a smart lock app next to a locked door

When someone leaves your team, "revoke" is supposed to mean the door is closed. On October 28 the Vaultwarden project published a batch of advisories showing that, up to version 1.37.3, several revoke-shaped actions only half-closed it. I run Vaultwarden for my own household vault and a small shared collection, so I read all of them. Three stood out because they break the exact moments you reach for the tool in an incident.

Revoked members could still read and delete items

The most serious one is GHSA-69q9-v8p6-xvx3, rated High (CVSS 8.1, CWE-863). Revoking a member changes their status, but their collection and group grants stay in place. The queries that list items check membership status. The per-item checks did not. So a revoked member who could name an item ID could still fetch that cipher, password field included, and also soft-delete it, permanently delete it, restore it, or delete its attachments.

Two details make this nastier than it sounds. Revoked Admins, Owners and members with access_all were correctly denied, so the bug only hit ordinary members with explicit grants, which is exactly the shape most small teams use. And rotating a password in place does not help, because the item ID stays the same. The advisory also notes that revocation neither ends sessions nor invalidates tokens. The fix, in 1.37.4, is to require a confirmed membership in the per-item checks, matching what the listing queries already did.

The 2FA fix that left a 30-day back door

GHSA-7jg8-8m5x-6j9r (Moderate, CVSS 6.8) is the one I would be most annoyed about as an admin. Vaultwarden's "remember this device" tokens let a device skip two-step login for up to 30 days. Version 1.37.3 started revoking those tokens on self-service changes, recovery-code login and security-stamp rotation, but missed two administrative paths: the admin panel's "remove 2FA" action, and organization account recovery when only resetTwoFactor is used.

The consequence: you suspect a compromised account, you strip the second factor, the user enrolls a fresh TOTP, and an attacker's device still holds a valid remember token. The attacker still needs the master password, so this is not a standalone bypass, but your standard remediation did not evict them. Fixed in 1.37.4.

An invite email failure that deleted a real account

GHSA-v576-3wvq-xh3c (Moderate, CVSS 6.8) is a plain old scoping bug. In send_invite, a user_created flag was declared outside the per-email loop and never reset. If an invite batch contained a new address followed by an existing user, and the mail for the second one failed, the error handler deleted the existing user, vault, attachments, Sends, devices and all. No transaction wrapped it, so the deletion persisted even though the request returned an error. It affected 1.33.0 through 1.37.3. An authenticated user could trigger it on purpose, and since organization creation is open by default, that is a wide door; an admin could also hit it by accident when the mail relay rejects a message.

What I did

The fix for all three is 1.37.4, and the later 1.37.5 release (1 November) adds two Medium advisories of its own, for website icons and emergency access, so I would go straight to 1.37.5 rather than stop at .4. The release notes also warn that invalid configuration values now stop startup, with tighter bounds on numeric options, so read the upgrade notes before you let a watcher container pull it unattended. The advisory pages list no workarounds, so I could not confirm any.

The broader lesson is about authorization checks living in two places. Listing queries and per-object checks drifted apart, and revocation is only as strong as the weakest of them. If you have ever revoked someone from a shared vault, the practical step after patching is to rotate the secrets they could reach, not just edit the item in place, since the ID they know has not changed.

BM
Blue Moose
The moose behind Blue Moose. Full-stack PHP developer — Drupal by day, Symfony by night, tests always.