Skip to main content

tsParticles CVE-2026-76826

| EUVDEUVD-2026-117158 HIGH
OS Command Injection (CWE-78)
2026-11-04 GitHub_M
7.5
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit PR with shell metacharacters in title
  2. Delivery
    Text flows into generated GitHub release body
  3. Exploit
    Maintainer initiates stable publish workflow
  4. Execution
    echo interpolation triggers command substitution
  5. Persist
    Execute arbitrary commands in tokened publish job
  6. Impact
    Tamper with release artifacts or exfiltrate GITHUB_TOKEN

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two concrete preconditions: (1) contributor-controlled text containing shell metacharacters (e.g., a merged pull-request title or other content) must reach the auto-generated GitHub release body that is stored in steps.release.outputs.body, and (2) a maintainer must manually initiate the stable publish workflow for a stable release of tsParticles 4.0.0 through 4.3.1. Limiting factors: this does NOT affect the published tsParticles library at runtime or its consumers - only the project's own release pipeline is exploitable; execution depends on the privileged maintainer action (UI:A) and on the malicious metacharacters surviving release-note generation (the AT:P attack requirement); and the issue is fully fixed in 4.3.2, which the vendor's change (routing the body through the RELEASE_BODY environment variable and printf '%s\n' instead of interpolating into the shell command) addresses as the complete fix.

Impact

This is a CWE-78 OS command injection in the tsParticles repository's own GitHub Actions stable-publish workflow, not in the shipped library runtime - a critical distinction for prioritization. The vuln.today decision label is 'this_week' and the CVSS 4.0 base score is 7.5 (AV:N/AC:L/AT:P/PR:N/UI:A), reflecting high impact to the CI job (VC:H/VI:H/VA:H) but a required maintainer action (UI:A) and an attack requirement (AT:P) that the attacker does not control. No EPSS score and no KEV status were provided in the input, so there is no signal of active, widespread, or automated exploitation; absence of these is not itself evidence of safety but does argue against emergency treatment. A public PoC reference exists in the GHSA advisory (the reporter documented reproduction of the rendered shell behavior and an SSVC-style exploitation precondition), but it is not verified as packaged, turnkey working exploit code. The key nuance that signals elevated-but-not-emergency risk: successful exploitation runs in a job holding GITHUB_TOKEN with contents:write and id-token:write, so a maintainer-triggered release could be subverted to tamper with generated artifacts or published packages - a supply-chain amplification path that could affect many downstream consumers even though the vulnerable surface itself is a single repository's CI. The CVSS network vector (AV:N) reflects that the malicious text enters via a remotely submitted pull request, but execution is gated on a privileged maintainer manually starting a stable release, so raw AV:N overstates reachability unless read together with UI:A and AT:P.

Exploit ScenarioDerived

An external contributor opens a pull request whose title (or other release-note-sourced text) embeds shell metacharacters such as $(...command...). The text is incorporated into the generated GitHub release body, and when a maintainer later initiates the stable publish workflow, the unquoted echo "${{ steps.release.outputs.body }}" > RAW_RELEASE.md command evaluates the command substitution, executing attacker commands inside the publish job. A public PoC reference with reproduction steps exists in the GHSA advisory; it is not verified as packaged working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 04, 2026

The tsParticles repository's own GitHub Actions stable-publish workflow passes the auto-generated GitHub release body directly into Bash source, so shell metacharacters that arrive via contributor-controlled release-note text (for example a merged pull-request title) can execute when a maintainer starts a stable release. Only tsParticles 4.0.0 through 4.3.1 are affected, and only the project's release pipeline - the published npm library and its runtime consumers are not affected; successful abuse requires the privileged maintainer action plus malicious text surviving release-note generation, and the resulting command execution runs in a job that holds GITHUB_TOKEN, contents: write and id-token: write, allowing release artifacts and workspace helper scripts to be altered before later tokened steps. Severity is rated 7.5 under CVSS 4.0 (assessed 3.1 vector AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H), the issue is fixed in 4.3.2, there is no CISA KEV entry, and a proof-of-concept payload is documented in the GitHub security advisory (local reproduction of the rendered shell command) rather than being a confirmed, ready-to-use exploit for a live publish run.

RemediationAI

Upgrade to tsParticles 4.3.2, the version in which this is fixed; the complete fix is in commit d3b5672bd61bb847abfa21193c34eabf7aba6896 (PR https://github.com/tsparticles/tsparticles/pull/5888), which replaces echo "${{ steps.release.outputs.body }}" > RAW_RELEASE.md with an env: RELEASE_BODY: ${{ steps.release.outputs.body }} mapping plus printf '%s\n' "$RELEASE_BODY" > RAW_RELEASE.md, so the release body never becomes shell source. Any fork or downstream copy of the npm-publish workflow should be patched the same way, and teams running these versions should additionally review the advisory's note that the publish job holds contents: write, id-token: write and GITHUB_TOKEN while later sourcing .github/scripts/retry_gh.sh - if any stable release was published from 4.0.0-4.3.1, inspect the generated release artifacts, RAW_RELEASE.md and workspace helper scripts for unexpected content before trusting them. Because the flaw is in the maintainer-triggered release pipeline and not in the shipped library, consumers of the npm package need no runtime mitigation; the remediation that matters is upgrading the repository tooling and only running the stable publish workflow from a patched branch. Vendor advisory: https://github.com/tsparticles/tsparticles/security/advisories/GHSA-gw8q-3x59-mjjx.

Affected VersionsENISA

tsparticles 4.0.0, < 4.3.2

Affected Packages

euvd tsparticles fix: 4.3.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Root cause is CWE-78 OS command injection arising from misuse of GitHub Actions expression interpolation: the workflow stores the generated release body in a step output via a GITHUB_OUTPUT heredoc (echo "body<<EOF"; retry_gh gh release view "$TAG" --json body -q .body; echo "EOF") and then embeds that value straight into the shell with echo "${{ steps.release.outputs.body }}" > RAW_RELEASE.md. Because GitHub evaluates ${{ }} expressions before handing the rendered string to the shell, any $(...), backticks or similar metacharacters inside the release-note text are parsed as Bash rather than written literally - the advisory's example $(printf owned > "$PWNED_PATH") disappears from RAW_RELEASE.md and creates a marker file instead. The GitHub platform layer is not at fault; the vulnerability is the unsafe data-to-code transition inside the repository's YAML workflow. The affected job additionally declares permissions: id-token: write and contents: write and later sources .github/scripts/retry_gh.sh while GITHUB_TOKEN is present, which is what turns a shell echo into a supply-chain integrity concern for release artifacts. The CPE cpe:2.3:a:tsparticles:tsparticles maps to the repository/package identity rather than a shipped code path, which is why the vulnerability type is workflow-level rather than library-level. The vendor fix in commit d3b5672bd61bb847abfa21193c34eabf7aba6896 removes the interpolation by exporting the body as an environment variable and writing it with printf '%s\n' "$RELEASE_BODY"; the same commit also carries an unrelated MCP server transport/session-routing refactor, so diff review should not assume every hunk in that commit is part of this fix. The assessed attack prerequisites are consistent with the CVSS 4.0 metrics AT:P and UI:A: the malicious text must survive release-note generation and a maintainer must manually trigger the stable release.

Know when Tsparticles gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Malicious text arrives via a remote PR (AV:N, PR:N), but execution needs a maintainer to run the release (UI:R) and the metacharacters to survive note generation (AC:H); full impact to the tokened job gives C/I/A:H.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 04, 2026 - 23:02 EUVD
CVE Published
Nov 04, 2026 - 22:11 cve.org
HIGH 7.5

DescriptionCVE.org

tsParticles is a TypeScript library for creating highly customizable particle animations. From 4.0.0 until 4.3.2, the stable publish workflow interpolates steps.release.outputs.body directly into an echo command in Bash source before writing RAW_RELEASE.md. Contributor-controlled shell metacharacters in generated release-note text can therefore execute when a maintainer starts a stable release, allowing modification of generated artifacts or workspace scripts and affecting later release steps that hold GITHUB_TOKEN and write permissions. This issue is fixed in version 4.3.2.

Technical POC Analysis

CWE-78 (Improper Neutralization of Special Elements used in an OS Command).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-76826 is a high-severity vulnerability in the tsParticles project's release pipeline, specifically versions 4.0.0 through 4.3.1, where malicious release-note text can execute shell commands when a maintainer initiates a stable release. While the published npm library and runtime consumers are not affected, a compromise could allow tampering with release artifacts and workspace scripts, potentially impacting the integrity of future releases. Leadership should care because this could undermine trust in the tsParticles supply chain and affect downstream consumers who rely on the project's releases.

Business Impact: High
Compensating Controls

Apply vendor patch (version 4.3.2).

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Rare
flaw confined to tsParticles' own release CI workflow in a single repository
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy