Gaia security and privacy
What Gaia stores, how the Docker setup is locked down and how to report a vulnerability.
On this page
What Gaia stores#
Gaia keeps everything in one SQLite file in the gaia-data Docker volume. Per server, that is:
- settings, roles and channels you chose in
/admin; - Gaia staff;
- voice room preferences and access lists;
- active mutes and the permissions to restore;
- embed templates, their attachments and schedules;
- backups, which contain member IDs and their roles.
Gaia does not store what members write. It does not use the Message Content intent. When Gaia leaves a server, that server's data is deleted, and its backups after 30 days.
Permissions#
Gaia never needs Administrator. Grant only the permissions listed in Install Gaia. Keep Gaia's role below roles it should not manage; Discord enforces the role order.
The Docker setup#
The docker-compose.yml from the repository runs Gaia:
- as a non-root user;
- with a read-only file system, except the data volume and
/tmp; - with all Linux capabilities dropped and
no-new-privileges; - with no published ports; the optional health check is only reachable on the Docker network;
- with a limit of one CPU and 512 MB of memory.
Secrets#
- The installer saves
.envso that only your user can read it. Never commit it. - Gaia removes tokens and webhook URLs from its logs and from the activity log.
- If the token leaks, reset it in the Discord Developer Portal right away.
Downloads Gaia makes#
Gaia only downloads attachments and server images from cdn.discordapp.com and media.discordapp.net, without following redirects, and checks that the content matches the declared type.
Report a vulnerability#
Do not open a public issue. Report it privately through GitHub Security Advisories with the version, the steps to reproduce and the impact. Only the latest release receives security fixes.
Source: Gaia v2.0.0 SECURITY.md, README, Dockerfile, docker-compose.yml, src/health.rs, src/logger.rs and src/services/embed_renderer.rs, checked 9 November 2026.