CVE-2026-39382: dbt-labs dbt - Command Injection
- Cve: CVE-2026-39382
- Name: dbt-labs dbt - Command Injection
- 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.
- Impact: Attackers can execute arbitrary shell commands remotely, potentially leading to full system compromise.
- Remediation: Update to the version including commit bbed8d28354e9c644c5a7df13946a3a0451f9ab9 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirements: Attacker must control the comment content used in the workflow
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.3
- Cvss 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.00409
- Epss percentile: 0.35719
- Assignee: [email protected]
- Published at: 2026-04-07T20:16:32Z
- Age in days: 231
- Modified at: 2026-07-24T21:10:00Z
- Public exploits total: 1
- References total: 2
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-39382
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, products total, products, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/pvharmo2/gha-lab-4a8fad8536 | poc-in-github | 2026-09-05 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/dbt-labs/actions/commit/bbed8d28354e9c644c5a7df13946a3a0451f9ab9 | nvd | |
| https://github.com/dbt-labs/dbt-core/security/advisories/GHSA-5jxf-vmqr-5g82 | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| dbt-labs/dbt-core | security_advisory | yes | /v1/repositories/dbt-labs/dbt-core |
| dbt-labs/actions | commit | yes | /v1/repositories/dbt-labs/actions |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-09-05
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts