{"id":"CVE-2026-45408","aliases":["CVE-2026-45408"],"related":[],"kind":"vulnerability","state":"published","title":"Dokku: OS Command Injection via App Name in Git Pre-Receive Hook","summary":"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 (<<EOF instead of <<'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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 (<<EOF instead of <<'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.","source":"cvelist"}],"published":"2026-06-26T16:19:56.118Z","modified":"2026-06-26T19:16:40.433Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"< 0.38.2","status":"affected"}],"vendor":"dokku","product":"dokku","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.38.2"}],"vendor":"dokku","product":"dokku","cpe":"cpe:2.3:a:dokku:dokku:*:*:*:*:-:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/dokku/dokku/security/advisories/GHSA-9x85-7gxq-fcr3","tags":["vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/dokku/dokku/pull/8590","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-26T18:14:28.682Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45408","url":"https://www.cve.org/CVERecord?id=CVE-2026-45408","licence":"CVE Terms of Use","modified":"2026-06-26T18:41:32.788Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45408","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45408","licence":"Public domain","modified":"2026-06-26T19:16:40.433Z"}],"updatedAt":"2026-11-25T22:59:26.501Z","epss":{"score":0.00234,"percentile":0.15267,"date":"2026-12-01T12:00:22.000Z"}}