{"id":"CVE-2026-39382","published":"2026-04-07T19:56:15Z","modified":"2026-04-08T16:14:59Z","title":"dbt has a Command Injection in Reusable Workflow via Unsanitized comment-body Output","vendor":"dbt-labs","product":"dbt-core","tier":"tail","description":{"text":"dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications. Inside the reusable workflow dbt-labs/actions/blob/main/.github/workflows/open-issue-in-repo.yml, the prep job uses peter-evans/find-comment to search for an existing comment indicating that a docs issue has already been opened. The output steps.issue_comment.outputs.comment-body is then interpolated directly into a bash if statement. Because comment-body is attacker-controlled text and is inserted into shell syntax without escaping, a malicious comment body can break out of the quoted string and inject arbitrary shell commands. This vulnerability is fixed with commit bbed8d28354e9c644c5a7df13946a3a0451f9ab9.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00409,"percentile":0.35719,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/dbt-labs/dbt-core/security/advisories/GHSA-5jxf-vmqr-5g82","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dbt-labs/actions/commit/bbed8d28354e9c644c5a7df13946a3a0451f9ab9","tags":["x_refsource_MISC"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":7.14},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-09-05","earliestUrl":"https://github.com/pvharmo2/gha-lab-4a8fad8536","repos":[{"name":"pvharmo2/gha-lab-4a8fad8536","url":"https://github.com/pvharmo2/gha-lab-4a8fad8536","stars":0,"created":"2026-09-05"}]},"first":{"date":"2026-09-05","source":"PoC-in-GitHub","url":"https://github.com/pvharmo2/gha-lab-4a8fad8536"},"provenance":"source"},"vendorSlug":"dbt-labs","affectedVersions":[{"vendor":"dbt-labs","product":"dbt-core","versions":["< bbed8d28354e9c644c5a7df13946a3a0451f9ab9"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-08T16:12:21.569788Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-19918","exploited":false,"provenance":"source"}}