Vaultwarden

Self-hosted Bitwarden-compatible password manager deployed via Docker Compose v2.

Generate Admin Token

N/ABASH
echo -n "<SOME-PASSWORD-HERE>" | argon2 "$(openssl rand -base64 32)" \
  -e -id -k 65540 -t 3 -p 4 | sed 's#\$#\$\$#g'

.env

.envBASH
ADMIN_TOKEN=<argon2-hash-from-above>
WEBSOCKET_ENABLED=true
SIGNUPS_ALLOWED=true
SMTP_HOST=
SMTP_FROM=
SMTP_PORT=587
SMTP_SSL=true
SMTP_USERNAME=
SMTP_PASSWORD=
DOMAIN=https://vault.mydomain.local

docker-compose.yaml

docker-compose.yamlYAML
services:
  vaultwarden:
    image: vaultwarden/server:latest
    container_name: vaultwarden
    ports:
      - "9445:80"
    volumes:
      - ./data:/data
    env_file:
      - .env
    restart: unless-stopped

Start

N/ABASH
docker compose up -d
  • Main interface: http://localhost:9445
  • Admin panel: http://localhost:9445/admin
Disclaimer

All content published on exploit.se is intended strictly for educational and informational purposes. Research is conducted responsibly under coordinated disclosure principles.

Techniques, tools, and writeups shared on this site are meant to advance the security community's understanding of vulnerabilities and defences. They are not intended to encourage or enable unauthorised access to any system.

The author bears no responsibility for any misuse of information presented here.

Cookie Settings

This site does not use cookies, analytics, or any third-party tracking technologies.

No personal data is collected. No fingerprinting. No ads. You are not the product.


 ██╗ ██████╗ ███████╗██╗███████╗███╗   ██╗██████╗
 ██║██╔═══██╗██╔════╝██║██╔════╝████╗  ██║██╔══██╗
 ██║██║   ██║█████╗  ██║█████╗  ██╔██╗ ██║██║  ██║
 ██║██║   ██║██╔══╝  ██║██╔══╝  ██║╚██╗██║██║  ██║
 ██║╚██████╔╝██║     ██║███████╗██║ ╚████║██████╔╝
 ╚═╝ ╚═════╝ ╚═╝     ╚═╝╚══════╝╚═╝  ╚═══╝╚═════╝
You found me.
↑↑↓↓←→←→ B A  ·  click to close