9.3critical
dbt has a Command Injection in Reusable Workflow via Unsanitized comment-body Output
- Severity
- 9.3critical CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dbt-labs dbt-core | < bbed8d28354e9c644c5a7df13946a3a0451f9ab9 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
dbt permite a los analistas e ingenieros de datos transformar sus datos utilizando las mismas prácticas que los ingenieros de software usan para construir aplicaciones. Dentro del flujo de trabajo reutilizable dbt-labs/actions/blob/main/.github/workflows/open-issue-in-repo.yml, el trabajo prep usa peter-evans/find-comment para buscar un comentario existente que indica que ya se ha abierto un problema de documentación. La salida steps.issue_comment.outputs.comment-body se interpola directamente en una declaración if de bash. Debido a que comment-body es texto controlado por el atacante y se inserta en la sintaxis del shell sin escapar, un cuerpo de comentario malicioso puede salirse de la cadena entre comillas e inyectar comandos de shell arbitrarios. Esta vulnerabilidad se corrige con el commit bbed8d28354e9c644c5a7df13946a3a0451f9ab9.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-39382 changed 2026-04-08 | CVE Terms of Use |
| NVD | CVE-2026-39382 changed 2026-07-24 | Public domain |