Please report security problems privately, not in a public issue. On this repository's Security tab, choose Report a vulnerability: it reaches the maintainer alone.
Say what you found, how to reproduce it, and what someone could do with it. You can expect an answer within a week. A fix comes in a release before the details are published, and you are credited in its notes unless you would rather not be.
Only the latest release gets security fixes. Upgrading is described in docs/self-hosting.md.
Every file in a release has a checksum in SHA256SUMS and GitHub's attestation, in mila.intoto.jsonl, that Mila's release workflow built it from the release's tag. docs/self-hosting.md shows how to check one.
Serving Mila over HTTPS, trusting only your own proxy, and keeping the data directory and backups private are covered in docs/self-hosting.md.