dani-garcia /vaultwarden

Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs

★ 70,510⑂ 3,437👁 316⑃ 1,595● 2,843▤ 89◈ 3,287
RustAGPL-3.0Created 2018-02-17
70,510
stars
+52+385+1,961
3,437
forks
316
watchers
1,595
prs
2,843
issues
89
releases
3,287
discussions

README

!Vaultwarden Logo

An alternative server implementation of the Bitwarden Client API, written in Rust and compatible with official Bitwarden clients [disclaimer], perfect for self-hosted deployment where running the official resource-heavy service might not be ideal.

---




 





 
![Dependency Status%3D'svg'%5D%2F%5Blocal-name()%3D'g'%5D%5B2%5D%2F%5Blocal-name()%3D'text'%5D%5B4%5D&style=flat-square&logo=rust&label=dependencies&color=005AA4)](https://deps.rs/repo/github/dani-garcia/vaultwarden)

 




 [!IMPORTANT]
 When using this server, please report any bugs or suggestions directly to us (see Get in touch), regardless of whatever clients you are using (mobile, desktop, browser...). DO NOT use the official Bitwarden support channels.



 Features

A nearly complete implementation of the Bitwarden Client API is provided, including:

  Personal Vault
  Send
  Attachments
  Website icons
  Personal API Key
  Organizations
   - Collections,
     Password Sharing,
     Member Roles,
     Groups,
     Event Logs,
     Admin Password Reset,
     Directory Connector,
     Policies
  Multi/Two Factor Authentication
   - Authenticator,
     Email,
     FIDO2 WebAuthn,
     YubiKey,
     Duo
  Emergency Access
  Vaultwarden Admin Backend
  Modified Web Vault client (Bundled within our containers)



 Usage

 [!IMPORTANT]
 The web-vault requires the use of HTTPS and a secure context for the Web Crypto API. 
 That means it will only work if you enable HTTPS. 
 We also suggest to use a reverse proxy.

The recommended way to install and use Vaultwarden is via our container images which are published to ghcr.io, docker.io and quay.io.
See which container image to use for an explanation of the provided tags.

There are also community driven packages which can be used, but those might be lagging behind the latest version or might deviate in the way Vaultwarden is configured, as described in our Wiki.

Alternatively, you can also build Vaultwarden yourself.

While Vaultwarden is based upon the Rocket web framework which has built-in support for TLS our recommendation would be that you setup a reverse proxy (see proxy examples).

 [!TIP]
For more detailed examples on how to install, use and configure Vaultwarden you can check our Wiki.

 Docker/Podman CLI

Pull the container image and mount a volume from the host for persistent storage.
You can replace docker with podman if you prefer to use podman.

shell
docker pull vaultwarden/server:latest
docker run --detach --name vaultwarden \
  --env DOMAIN="https://vw.domain.tld" \
  --volume /vw-data/:/data/ \
  --restart unless-stopped \
  --publish 127.0.0.1:8000:80 \
  vaultwarden/server:latest


This will preserve any persistent data under /vw-data/, you can adapt the path to whatever suits you.

 Docker Compose

To use Docker compose you need to create a compose.yaml which will hold the configuration to run the Vaultwarden container.

yaml
services:
  vaultwarden:
    image: vaultwarden/server:latest
    containe

Top issues

Discussions

Latest release

1.37.5 1.37.5 2026-11-01
Security Fixes
This release contains security fixes for the following advisories. We strongly advise updating as soon as possible.
- Website icons [[GHSA-x9cq-f669-vrr4]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-x9cq-f669-vrr4) (Medium, 5.3)
- Emergency access [[GHSA-9pjj-f9g5-3x4c]](https://github.com/dani-garcia/vaultwarden/security/advisories/GHSA-9pjj-f9g5-3x4c) (Medium, 4.3)

These are private for now, pending CVE assignment and publishing at a later date.

 Note
This update is required for web vault 2026.7.1+ to turn two-step login methods on or off, an

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON