pinfolio is pre-1.0. Only the newest 0.x release gets fixes; there are no backports to older tags.
Running from master or arch means you get whatever is there today.
Do not open a public issue. Use GitHub's private vulnerability reporting:
https://github.com/528085390/pinfolio/security/advisories/new
(Repository → Security → Advisories → Report a vulnerability.) Please include:
- the version, commit or image tag you run;
- how it is deployed (Docker Compose, bare metal, reverse proxy,
TRUST_PROXY); - what an attacker gains, and the steps to reproduce;
- any relevant log lines, with secrets removed.
You can expect an acknowledgement within about a week. This is a hobby project maintained in spare time, so there is no bounty and no formal SLA — but reports are taken seriously and credited unless you ask otherwise.
- Authentication bypass: reading or writing
/api/*without a valid session cookie or API token. - Session or token handling: cookie flags, fixation, tokens that survive a password change, tokens stored in clear text.
- Secret handling: anything that lets a remote attacker recover
data/secret.key, mailbox passwords, the Kuma password or the metrics token. - Injection through the API (SQL, path traversal in backup download/restore, SSRF in the tunnel checker).
- XSS in mail rendering or in note/asset content (the reader sanitises HTML inside a Shadow DOM).
- No built-in TLS. TLS belongs to the reverse proxy in front (
docs/deploy.md). Serving pinfolio on a public IP over plain HTTP is a misconfiguration, not a vulnerability. - Encryption at rest protects files, not a running process. AES-256-GCM with the key in
data/secret.keystops a leaked backup or database file from exposing credentials. If an attacker can execute code as the pinfolio user, they can read everything the app can read. - Single-user by design. Anyone who can log in is the owner; there is no per-device or per-page permission model to bypass.
- Denial of service from an authenticated user, brute force beyond the built-in limiter (5 failures per IP per 15 minutes with exponential backoff), and issues that require a compromised host.
- Vulnerabilities in Uptime Kuma, your IMAP provider, MySQL or PostgreSQL themselves.
- Put it behind HTTPS (Caddy or nginx) and keep
127.0.0.1:7788bound to loopback unless the proxy is on the same host; setTRUST_PROXY=1only when a proxy really is in front. - Set a strong password at
/setup, then add an API token instead of reusing the password in scripts. - Back up
data/anddata/secret.key; keep the key out of the same place as the backup if you can (seedocs/backup-restore.md). - Keep the image or checkout up to date;
docker compose pull && docker compose up -dis the whole upgrade (seedocs/upgrade.md).