Skip to content
Key safe with a four-digit combination lock, mounted on a brick wall

Vaultwarden or Bitwarden: is it safe to self-host your password manager?

What Vaultwarden is, the real risks of self-hosting your team's password manager, how to reduce them and when paying for Bitwarden makes more sense.

By Pod SRE teamPublished on 9 min read

Keeping your team’s passwords on your own server sounds good: no relying on someone else’s cloud and no per-user fees. Vaultwarden makes it easy, because it works with the usual Bitwarden apps and uses very few resources. The question worth asking first is a different one: that server will hold the keys to everything else, so who makes sure it is locked down, up to date and backed up in a way that actually restores? In this article we explain what Vaultwarden is, the risks of self-hosting it, how to reduce them and when paying for Bitwarden is the better choice.

In short: Vaultwarden is an unofficial Bitwarden-compatible server, written in Rust and licensed under AGPLv3, and it is not associated with Bitwarden, Inc. Passwords are encrypted on each device before they reach the server, so the main risk is not someone reading the database but configuration and maintenance: open sign-ups, an exposed admin panel, incomplete backups and outdated versions. If nobody can maintain it, Bitwarden’s cloud or its official server with an Enterprise licence is safer in practice.

What Vaultwarden is and what it is not

Vaultwarden is, in the project’s own words, an unofficial Bitwarden-compatible server written in Rust, formerly known as bitwarden_rs. It implements the same API as the Bitwarden server, so the Bitwarden browser extension, mobile app, desktop app and web vault all work with it: you just enter your server’s address when you log in.

Three things worth being clear about:

  • It is not a Bitwarden product. The README says the project is not associated with Bitwarden, Inc. and explicitly asks people not to use Bitwarden’s official support channels for Vaultwarden issues.
  • It is free software. The licence is AGPLv3, and the features that are paid in Bitwarden (organisations, collections, groups, policies, event logs, emergency access, two-factor with security keys or Duo) are included without a licence.
  • It is much lighter. It is a single program in one container, with SQLite, MySQL or PostgreSQL. The official Bitwarden server, in its standard deployment, needs at least 2 GB of RAM and 12 GB of disk and ships several containers, including MSSQL Express.

What encryption protects and what it does not

Bitwarden encrypts vault data on the device itself before sending it to the server, with a key derived from each person’s master password. Vaultwarden does not change that: the encryption is done by the Bitwarden apps, not by the server. Anyone who steals the database walks away with encrypted vaults, not plain-text passwords.

That does not mean the server does not matter. Whoever controls it can:

  • Copy the encrypted vaults and try to guess weak master passwords with unlimited attempts, on their own hardware.
  • Tamper with the web vault the server serves, which is code that runs in the browser, and capture the master password of anyone who logs in there. Installed extensions and apps do not depend on that code.
  • Delete everything or make it unreachable. If the server goes down, the apps let you view the copy they have stored, but not sync changes or share; if it is lost with no backup, whatever was only on the server is gone.

So the useful question is not whether Vaultwarden is safe, but whether your deployment is.

The real risks of self-hosting it

These are the most common mistakes, and what the project wiki’s hardening guide says about each one:

Risk What happens How to reduce it
Open sign-ups Anyone who finds the address can create an account Close sign-ups and allow access by invitation only
Visible password hints The hint shows on the login screen and helps guessing Turn off hints in the admin panel
Exposed admin panel A weak or plain-text token gives access to settings and users Token stored as an Argon2 hash, panel restricted or disabled when not in use
Poorly handled HTTPS Rocket’s built-in TLS is meant for development only A reverse proxy with HTTPS in front and access by server name only
Brute-force attacks Unlimited login attempts Mandatory two-factor and fail2ban or limits on the proxy
Incomplete backups The database is copied but attachments or keys are forgotten Back up everything needed, encrypted and off the machine, and run test restores
Outdated versions Known security flaws left unfixed Track releases and apply security releases as soon as they are out

Updates deserve special attention. In 2026 alone, Vaultwarden versions 1.36.0, 1.37.0, 1.37.4 and 1.37.5 fixed security advisories published on its releases page, some of them rated high. A Vaultwarden installed a year ago and never touched since is, today, a Vaultwarden with known flaws.

How to set it up so it really is safe

If you decide to self-host it, these are the minimum pieces:

  1. Exposure: HTTPS only, behind a reverse proxy, and if you can, reachable only from your network or your VPN. If it has to be on the internet, with request limits.
  2. Access: sign-ups closed, invitations only from the organisation, two-factor required by policy and password hints turned off.
  3. Admin panel: the ADMIN_TOKEN stored as an Argon2 hash, which the built-in vaultwarden hash command generates, and the panel closed to the internet or disabled when not in use.
  4. Container: run as an unprivileged user, with only the folders it needs mounted.
  5. Backups: the database copied while live (with SQLite’s .backup or the vaultwarden backup command), plus attachments, config.json and the rsa_key* keys, encrypted and off the server. And a test restore every now and then, logging in and opening an entry.
  6. Monitoring: alerts if the service stops responding, the certificate is about to expire, the disk fills up or a backup fails.
  7. Account recovery: turn on the admin password reset policy from day one. If someone forgets their master password and was not enrolled, nobody can recover their vault.

A note on logs: the notifications connection carries an access token in the URL, and the wiki recommends redacting it in proxy logs and anywhere they are shipped.

SSO: what it does and what it does not

Since version 1.35.0, Vaultwarden supports single sign-on with OpenID Connect, with Keycloak, Authentik, Microsoft Entra ID or other providers. It is useful so that removing someone from your directory also locks them out of the password manager.

What it does not do is replace the master password: the wiki says it is still required and is not controlled by SSO. That makes sense, because it is what encrypts the vault. If what you want is to log in without a master password, that is a Bitwarden Enterprise feature.

When paying for Bitwarden makes sense

Vaultwarden is a good option for a technical team that already runs servers and wants its passwords on its own infrastructure. Paying for Bitwarden makes more sense when:

  • Nobody is going to maintain the server. An unpatched password manager is worse than one in a vendor’s cloud that keeps it updated for you.
  • A contract or an auditor asks for vendor support, external audits or vendor certifications. Bitwarden publishes them; a community project does not have that backing.
  • You want SSO without a master password or other features that only exist in Bitwarden Enterprise.

If you choose Bitwarden, there are two routes. In its cloud, the Teams plan costs $4 per user per month and Enterprise $6, billed annually, according to its pricing page in November 2026. Self-hosting the official server is only included in the Enterprise plan. Bitwarden also offers a lightweight single-container deployment, Bitwarden lite, but its documentation says it is intended for personal use and home labs, not for businesses.

Vaultwarden Bitwarden cloud Self-hosted Bitwarden
Who maintains it You, or whoever you hire Bitwarden You, with Bitwarden support
Licence AGPLv3, free of charge Per user Per user, Enterprise plan
Resources Very few, one container None of your own At least 2 GB of RAM and 12 GB of disk
SSO OpenID Connect, with master password Enterprise plan Enterprise plan
Vendor support No Yes Yes

Our recommendation

If you have someone to maintain it, a well-run Vaultwarden is a serious option: the encryption is done by the Bitwarden apps, and the server just needs to be locked down, up to date and backed up with tested restores. If there is nobody, Bitwarden’s cloud is better than a forgotten server of your own.

On the managed Vaultwarden page we explain how we set it up and maintain it. For the credentials used by applications and servers rather than people, the right tool is a secrets manager such as OpenBao or HashiCorp Vault. If you would like us to review your deployment, send us an email.

Frequently asked questions

Yes. It is free software under the AGPLv3 and can be used in a company without paying for a licence. The AGPLv3 only requires something if you modify Vaultwarden’s code: then you have to offer that modified code to the people who use it over the network. Using it unmodified carries no obligation.

Can you move from Vaultwarden to Bitwarden, or the other way round?

Yes. Since both use the same apps, you export the vault from the web vault, import it on the other server and change the address in the apps. With organisations you also need to export each one and then check the collection permissions. Attachments are not included in the export: they have to be moved by hand.

What happens if the Vaultwarden server goes down?

The apps keep showing the copy they have stored, but you cannot sync changes or share anything new until it is back. That is why it is worth monitoring it and having a rehearsed restore onto another machine.

References

Back to the blog

Other articles

See all articles

Tell us about your case

Call or write to us and we'll tell you where you stand and where to start. Free, no strings attached.

WhatsApp