# CVE-2026-39382: dbt has a Command Injection in Reusable Workflow via Unsanitized comment-body Output

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-04-07T19:56:15.251Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- dbt-labs dbt-core: < bbed8d28354e9c644c5a7df13946a3a0451f9ab9

## References

- <https://github.com/dbt-labs/dbt-core/security/advisories/GHSA-5jxf-vmqr-5g82>
- <https://github.com/dbt-labs/actions/commit/bbed8d28354e9c644c5a7df13946a3a0451f9ab9>

## Sources

- CVE List: [CVE-2026-39382](https://www.cve.org/CVERecord?id=CVE-2026-39382), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-39382](https://nvd.nist.gov/vuln/detail/CVE-2026-39382), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-39382 · Whole record: https://cve.day/CVE-2026-39382.json · Rebuilt by cve.day 2026-11-25T22:59:18.170Z
