{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-45408 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-45408 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-45408 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-45408 and fix it if it is affected.\n\nWhat it is: CVE-2026-45408 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-45408 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-45408/ (Markdown: https://insights.sbomify.com/CVE-2026-45408/index.md)","id":"CVE-2026-45408","markdown":"https://insights.sbomify.com/CVE-2026-45408/index.md","name":"CVE-2026-45408","record":{"aliases":["GHSA-9x85-7gxq-fcr3"],"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":"An authenticated user can execute arbitrary commands as the dokku user by pushing to a git remote with a crafted app name containing shell metacharacters.","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-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Dokku is a docker-powered PaaS. Prior to 0.38.2, the app name validation regex (^[a-z0-9][^/:_A-Z]*$) permits shell metacharacters. When an authenticated user pushes to a git remote with a crafted app name, the name is embedded unquoted into a bash pre-receive hook script via an unquoted heredoc (\u003c\u003cEOF instead of \u003c\u003c'EOF') in fn-git-create-hook() at plugins/git/internal-functions:378. On git push, bash interprets the semicolon as a command separator, executing arbitrary commands as the dokku user. 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: OS Command Injection via App Name in Git Pre-Receive Hook","id":"CVE-2026-45408","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":"Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix","id":"CVE-2026-45409"},"packages":[],"prev":{"headline":"Dokku: Git Credentials in .netrc Stored World-Readable Due to Premature touch","id":"CVE-2026-45407"},"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: Host RCE via Maliciously Named OpenResty Include Files Injected Through eval","id":"CVE-2026-45406","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":"An authenticated user can execute arbitrary commands as the dokku user by pushing to a git remote with a crafted app name containing shell metacharacters.","url":"https://insights.sbomify.com/CVE-2026-45408/"}