CVE-2026-45406 Details
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.
A critical vulnerability allowing remote code execution has been identified in Dokku versions prior to 0.38.2. The issue arises in the openresty-vhosts plugin, which improperly handles filenames from an application's openresty/http-includes/ git repository directory. The plugin copies these files to the host and interpolates their names, unescaped, into a single-quoted shell string that is later executed using eval. Filenames containing a single quote can break the string's quoting, enabling command substitution to execute arbitrary commands on the host as the dokku user during the application's next deployment. This vulnerability affects installations using the openresty proxy plugin and can be exploited by any Dokku user with push access to the affected application.
Users can upgrade to Dokku version 0.38.2 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dokku/dokku/pull/8588 | [email protected] | Issue TrackingPatch |
| https://github.com/dokku/dokku/security/advisories/GHSA-ggqh-98fj-8mg9 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-95 | Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dokku dokku | < 0.38.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 26, 2026 | CVE Modified | CISA-ADP |
| Jun 26, 2026 | Initial Analysis | [email protected] |
| Jun 26, 2026 | New CVE Received | [email protected] |