{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-45408: Dokku: OS Command Injection via App Name in Git Pre-Receive Hook","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-45408","status":"final","version":"1","initial_release_date":"2026-06-26T16:19:56.118Z","current_release_date":"2026-06-26T18:41:32.788Z","revision_history":[{"date":"2026-06-26T16:19:56.118Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-45408 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-45408"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-45408"},{"category":"external","summary":"https://github.com/dokku/dokku/security/advisories/GHSA-9x85-7gxq-fcr3","url":"https://github.com/dokku/dokku/security/advisories/GHSA-9x85-7gxq-fcr3"},{"category":"external","summary":"https://github.com/dokku/dokku/pull/8590","url":"https://github.com/dokku/dokku/pull/8590"}]},"product_tree":{"branches":[{"category":"vendor","name":"dokku","branches":[{"category":"product_name","name":"dokku","branches":[{"category":"product_version","name":"< 0.38.2","product":{"name":"dokku dokku < 0.38.2","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:dokku:dokku:\\<_0.38.2:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-45408","title":"Dokku: OS Command Injection via App Name in Git Pre-Receive Hook","notes":[{"category":"description","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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","baseScore":9,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1"]}]}]}