Security fixes are applied to the latest commit on main. Older releases or forks are not maintained with backports unless noted otherwise.
| Version | Supported |
|---|---|
main (latest) |
Yes |
| Older tags / forks | No |
Please do not open a public GitHub issue for security vulnerabilities.
Report them privately through GitHub Security Advisories:
- Open Security Advisories for this repository.
- Include a clear description, impact, affected versions/commits, and steps to reproduce.
- If you have a patch or suggested fix, include it.
We aim to acknowledge reports within 7 days and to share an initial assessment or next steps within 14 days. Timelines may vary for complex issues.
Please give us a reasonable window to investigate and release a fix before any public disclosure.
In scope:
- Remote code execution, privilege escalation, or unintended Docker Engine control through Dome.Socket, Dome.Server, or the client
- Authentication or authorization bypass, including Socket key or certificate pinning bypass
- Path traversal, SSRF, injection, or similar flaws in the APIs that expose host or Docker data beyond intended listing
- Supply-chain issues in first-party build or release artifacts published from this repository
Out of scope (unless they cause an unexpected security impact beyond the documented threat model):
- Running DOME on an untrusted network without network controls
- Claiming a fresh installation before its admin account is created (finish onboarding right after installing)
- Sniffing Client-to-Server traffic when DOME is served over plain HTTP without a TLS reverse proxy
- Exposing Dome.Socket (full Docker Engine access) or the Docker socket to untrusted parties by operator misconfiguration
- Denial of service from resource exhaustion in a local/homelab deployment
- Issues only present in third-party dependencies that are not exploitable through DOME (report those upstream when appropriate)
- Social engineering, physical access, or compromised host/Docker environments
DOME has three trust boundaries: browser to Server, Server to Socket, and Socket to Docker Engine.
Browser to Server
- DOME has a single admin account, created during onboarding. Until it exists, anyone who can reach DOME can create it.
- Passwords are stored only as salted, slow hashes (PBKDF2). Wrong usernames and wrong passwords get the same answer.
- A successful login sets an HttpOnly, SameSite=Strict session cookie. The cookie is marked
Securewhen DOME is served over HTTPS. - Every API call except login, setup and the status check requires that cookie.
- Requests that change state must also carry a custom request header. A browser does not let another site add that header, so pages on other sites, ports or subdomains cannot act with the admin's cookie (CSRF).
- Login and setup are rate limited per client address, as seen by the Client's proxy. The Compose files publish the Server port on the host's loopback address only, so other machines reach DOME through the Client. Do not publish the Server port to the network: callers that reach it directly can choose the address that is counted.
- Each session is tied to a server-side session version. Logging out or resetting the admin account changes that version, which ends every existing session, including copied cookies.
- Resetting a forgotten password requires access to the Server's configuration (
DOME_RESET_ADMIN). The reset runs at every start while the variable is set, so remove it as soon as the new admin account exists (see the README).
Server to Socket
- Each Socket has a random key and serves HTTPS with its own self-signed certificate.
- On first contact, the Socket proves it knows the key, bound to its certificate, without the key being sent. The Server then pins that certificate.
- After pairing, every request carries the key and is refused unless the pinned certificate is presented. A changed certificate is reported as such and requires pairing again; it is never trusted silently.
- The Server stores Socket keys encrypted, with an encryption key kept in the Server's data volume. Protect that volume as a whole.
Socket to Docker Engine
- The Socket has full control of its local Docker Engine. Its key is therefore equivalent to root on that host, and is stored with owner-only file permissions.
DOME is intended for trusted homelab or private networks.
- Do not expose the Server, Socket, or UI to the public internet without additional access controls (reverse proxy auth, VPN, firewall rules, and so on).
- Treat Dome.Socket as highly privileged: it mounts the local Docker socket. Anyone who has its key (
socket.keyin thesocket-datavolume, orDOME_SOCKET_KEY) controls that Engine. The Socket prints the key in its logs until DOME has paired, so keep those logs private and the key out of public repositories and issue reports. - The Server and Socket communicate over HTTPS with a pinned certificate. The Server stores Socket keys encrypted with ASP.NET Core Data Protection; the keys for that live next to the database, so back up and protect the whole data volume.
- Put the Client behind a TLS reverse proxy when it is reachable from other machines, so passwords and session cookies are not sent in plain text.
- Keep
.env,appsettings*.jsonoverrides, and Compose secrets out of public repositories and issue reports.
Thank you for helping keep DOME and its users safe. Responsible private reporting is preferred over public issues or social media posts for security findings.