{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-45406 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-45406 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-45406 is a critical command injection vulnerability in dokku, published on 26 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-45406 and fix it if it is affected.\n\nWhat it is: CVE-2026-45406 is a critical command injection vulnerability in dokku, published on 26 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-45406 in the wild and no public exploit code.\n\nAffected product: dokku. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-45406/ (Markdown: https://insights.sbomify.com/CVE-2026-45406/index.md)","id":"CVE-2026-45406","markdown":"https://insights.sbomify.com/CVE-2026-45406/index.md","name":"CVE-2026-45406","record":{"aliases":["GHSA-ggqh-98fj-8mg9"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Docker PaaS","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary commands on the host by using malicious filenames in OpenResty include files during deployment.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"dokku","vendor":"dokku"}],"cvss":{"score":9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Dokku: Host RCE via Maliciously Named OpenResty Include Files Injected Through eval","id":"CVE-2026-45406","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Dokku: Git Credentials in .netrc Stored World-Readable Due to Premature touch","id":"CVE-2026-45407"},"packages":[],"prev":{"headline":"Dokku: Arbitrary File Write via Tar Symlink Traversal in git:from-archive and certs:add","id":"CVE-2026-45405"},"products":["dokku"],"published":"2026-06-26","related":[{"cvss_score":9,"headline":"Dokku: Arbitrary File Write via Tar Symlink Traversal in git:from-archive and certs:add","id":"CVE-2026-45405","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":9,"headline":"Dokku: OS Command Injection via App Name in Git Pre-Receive Hook","id":"CVE-2026-45408","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":9,"headline":"Dokku: OS Command Injection via app.json managed Cron","id":"CVE-2026-54636","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":5,"headline":"Dokku: Git Credentials in .netrc Stored World-Readable Due to Premature touch","id":"CVE-2026-45407","kev_date_added":null,"published":"2026-06-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-26","vendors":["dokku"]},"summary":"Attackers can execute arbitrary commands on the host by using malicious filenames in OpenResty include files during deployment.","url":"https://insights.sbomify.com/CVE-2026-45406/"}