Description
Dokploy 0.28.0 before 0.31.1 contains a path traversal vulnerability that allows authenticated organization members to read arbitrary files by supplying ../ sequences in the filePath of patch.readRepoFile. Attackers with service read permission can read /etc/shadow, SSH private keys, and secret environment files on the Dokploy host or managed remote servers.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Dokploy | dokploy | 0.28.0 <0.31.1 | — |
References
- https://github.com/Dokploy/dokploy/security/advisories/GHSA-g6rj-m32j-2mc4
- https://github.com/Dokploy/dokploy/commit/4b582856b36a0d037ff43ecbed2026d93f22ecc6
- https://github.com/Dokploy/dokploy/pull/5899
- https://github.com/Dokploy/dokploy/releases/tag/v0.31.1
- https://github.com/Dokploy/dokploy/commit/40e818b0e0d8e448e7a30c559ebf4e146e5932ae
- https://github.com/Dokploy/dokploy/blob/v0.31.0/packages/server/src/services/patch-repo.ts#L148-L181
- https://www.vulncheck.com/advisories/dokploy-0.28.0-before-0.31.1-path-traversal-via-patch-readrepofile