CVE-2026-45406

CRITICAL

Dokku: Host RCE via Maliciously Named OpenResty Include Files Injected Through eval

Title source: cna
STIX 2.1

Description

Dokku is a docker-powered PaaS. Prior to 0.38.2, the openresty-vhosts plugin copies files from an app's openresty/http-includes/ git repository directory to the host and then interpolates their filenames, unescaped, into a single-quoted shell string that is later parsed by eval. A filename containing a single quote breaks the quoting and allows command substitution to execute arbitrary commands on the host as the dokku user during the app's next deploy. This vulnerability is fixed in 0.38.2.

References (2)

Core 2
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/dokku/dokku/pull/8588

Scores

CVSS v3 9.0
EPSS 0.0027
EPSS Percentile 19.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-95
Status published
Products (1)
dokku/dokku < 0.38.2 (2 CPE variants)
Published Jun 26, 2026
Tracked Since Jun 26, 2026