PT-2026-52851 · Dokku · Dokku+1
CVSS v3.1
9.0
Critical
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Dokku versions prior to 0.38.2
Description
The openresty-vhosts plugin copies files from an application's
openresty/http-includes/ git repository directory to the host. The plugin then interpolates these filenames, without escaping, into a single-quoted shell string that is subsequently processed by the eval() function. A filename containing a single quote can break the quoting mechanism, enabling command substitution to execute arbitrary commands on the host with the privileges of the dokku user during the next application deployment.Recommendations
Update to version 0.38.2.
Exploit
Fix
RCE
Eval Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Dokku
Openresty-Vhosts