Read the docs
TI-2022-09429 Aliases CVE-2022-25865GHSA-5875-m6jq-vf78

Command injection in workspace-tools

Priority MEDIUM 52CWE-88Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-88.

Summary

The package workspace-tools before 0.18.4 are vulnerable to Command Injection via git argument injection. When calling the fetchRemoteBranch(remote: string, remoteBranch: string, cwd: string) function, both the remote and remoteBranch parameters are passed to the git fetch subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.

Why it matters now

EPSS 0.06694 93rd percentileScored 2026-11-07
Fix Fixed workspace-tools: 0.18.4workspace-tools (npm): 0.18.4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—workspace-toolsbefore 0.18.40.18.4Patch availableCNA
—workspace-tools (npm)before 0.18.40.18.4Patch availableGHSA-5875-m6jq-vf78
  • workspace-tools Vendor— Affected before 0.18.4 Fixed in 0.18.4 Patch available CNA
  • workspace-tools (npm) Vendor— Affected before 0.18.4 Fixed in 0.18.4 Patch available GHSA-5875-m6jq-vf78

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:microsoft:workspace-tools:*:*:*:*:*:*:*:*before 0.18.4VulnerableMicrosoft
  • cpe:2.3:a:microsoft:workspace-tools:*:*:*:*:*:*:*:* Versions before 0.18.4 Vulnerable ·Microsoft

Remediation

  • Fix · CNA workspace-tools Fixed in 0.18.4
  • Fix · GHSA-5875-m6jq-vf78 workspace-tools (npm) Fixed in 0.18.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-25865
  2. 2026-10-03 Alias added: GHSA-5875-m6jq-vf78

References

Sources