CVE-2026-45406 PUBLISHED

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

Assigner: GitHub_M
Reserved: 12.05.2026 Published: 26.06.2026 Updated: 26.06.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS Score: 9

Product Status

Vendor dokku
Product dokku
Versions
  • Version < 0.38.2 is affected

References

Problem Types

  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') CWE