CVE-2026-137556
Dockhand before 1.0.57 contains a path traversal vulnerability in validateStackPath, which omits the isProtectedPath() check and permits writes to protected sy…
Impact
Dockhand before 1.0.57 contains a path traversal vulnerability in validateStackPath, which omits the isProtectedPath() check and permits writes to protected system directories. Authenticated users with stacks:edit permission can send a crafted composePath to PUT /api/stacks/[name]/compose to write arbitrary files, such as cron payloads, achieving remote code execution as root.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products (Finsys)
| Product | Affected versions |
|---|---|
| Dockhand | before 1.0.57 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/Finsys/dockhand/security/advisories/GHSA-97wr-gv48-x7fm
- https://www.vulncheck.com/advisories/dockhand-before-1.0.57-path-traversal-rce-via-composepath
- https://github.com/advisories/GHSA-67fq-9556-3xxh
- https://nvd.nist.gov/vuln/detail/CVE-2026-137556