All vulnerabilities

Servers and applications

GHSA-qxjv-6cvh-32c6

Local privilege escalation to root: install.sh makes /etc/dokploy world-writable (0777)

Severity
High
Published
12 Nov 2026
Last changed
12 Nov 2026
Added to UpHeron
12 Nov 2026
Weakness
Incorrect permissions on a critical resource (CWE-732)
Sources
Project advisories (GitHub)

Description

Dokploy's install.sh (served from https://dokploy.com/install.sh, source apps/website/public/install.sh in the website repo) and the manual-installation docs run chmod 777 /etc/dokploy. That directory is bind-mounted into the Dokploy and Traefik containers and holds their configuration (traefik/), generated application files, scheduled-task scripts (schedules/), and application .env files.

This is a local privilege escalation to root on shared or multi-user hosts. Single-user hosts are not affected because it requires an existing non-root local account on the Dokploy host.

On Linux, write permission on a directory is enough to rename the entries inside it, including root-owned ones. Because /etc/dokploy is 0777, an unprivileged local user can move a root-owned subdirectory aside and put their own directory in its place, which Dokploy and Traefik then consume as trusted configuration.

From Dokploy/dokploy's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
DokployServers and applications · github:dokploy/dokploy
  • Every version up to 0.31.0

References