Skip to content

Security: chrisgreg/glance

Security

SECURITY.md

Security

Reporting a vulnerability

Please do not open a public issue for security problems. Use GitHub's private vulnerability reporting on this repository. You will get an acknowledgement within a few days and a fix or mitigation as soon as one is ready.

Only the latest release is supported.

Hardening notes

  • Set GLANCE_ADMIN_USER and GLANCE_ADMIN_PASSWORD. Without them the dashboard and admin API are open; only run that way behind your own proxy or VPN.
  • Put Glance behind an HTTPS proxy. It reads the client IP from X-Forwarded-For, so make sure the proxy overwrites that header rather than appending to it.
  • API tokens are stored hashed and are read-only. Revoke any you no longer use in Settings.
  • Favicon fetches go through a guard that refuses loopback, private, link-local and carrier-grade NAT addresses, including after redirects.
  • Google and Polar credentials live in the SQLite file. Protect the data directory as you would any secret.

There aren't any published security advisories