Summary
ToolJet before 3.21.96-LTS contains a command injection vulnerability (CWE-94) in its GitHub Actions release workflow. The workflow interpolates the pull request title directly into a shell run block without sanitisation.
According to the CVSS vector (9.8, critical), the attack is network-based and low in complexity. It requires no authentication and no user interaction. An attacker submits a pull request against a release branch with shell metacharacters in its title. Once the pull request is merged, the commands execute with a cross-repository GITHUB_TOKEN. This enables unauthorized merges into enterprise repositories.
The vulnerability is not listed in CISA KEV. Its EPSS score is about 1.6% (76th percentile).
Who is affected
This affects organizations using or maintaining ToolJet repositories, or forks with the inherited release workflow, in versions before 3.21.96-LTS.
What to do
- Update ToolJet to 3.21.96-LTS or later. If you maintain a fork, pull in the fixed release workflow.
- Review your GitHub Actions workflows for direct interpolation of expressions such as PR titles into run blocks. Pass such values through environment variables instead.
- Restrict GITHUB_TOKEN and cross-repository token permissions to the minimum required. Rotate tokens if misuse is suspected.
- Audit merged pull requests against release branches and workflow run logs. Look for suspicious titles and unauthorized merges.
- Consult the official advisory GHSA-74h3-686h-cmvf for further details.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- github.com/ToolJet/ToolJet/security/advisories/GHSA-74h3-686h-cmvf vendor advisory
- www.vulncheck.com/advisories/tooljet-before-3.21.96-lts-command-injection-via-release-work
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.