CVE-2026-45406
JSON

9.0critical

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

Severity
9.0critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.53% (higher than 38% of CVEs)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
dokku dokku< 0.38.2, before 0.38.2CVE List, NVD

All scores

GitHub_M9.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-95

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-45406 changed 2026-06-26CVE Terms of Use
NVDCVE-2026-45406 changed 2026-06-26Public domain