Vulnerability DatabaseGHSA-3fgc-wc43-9q2f

GHSA-3fgc-wc43-9q2f: 
JavaScript vulnerability analysis and mitigation

Impact

TaskGraph spawns git, gh, claude and docker by bare name with the project directory as the working directory: packages/tm-core/src/common/utils/git-utils.ts (shell strings through exec/execSync), the claude --version probe in packages/tm-core/src/modules/ai/providers/claude-code.ts, and the Claude Code SDK's own spawn of claude. On Windows, cmd.exe and libuv's CreateProcess path search both look in the current directory before PATH unless the NoDefaultCurrentDirectoryInExePath environment variable is set. A repository that commits git.exe, git.cmd, claude.cmd or docker.cmd at its root therefore gets that file executed with the user's privileges the first time they run almost any taskgraph command (taskgraph list runs git for the branch name) or MCP tool in the clone. packages/tm-core/src/modules/setup/doctor.ts already sets the variable for its own spawns, so the hazard was only covered there. Windows only. All versions through 0.62.10.

Patches

The taskgraph binary and the MCP server set NoDefaultCurrentDirectoryInExePath=1 in their own environment at startup, which every spawn in the process and in the Claude Code SDK inherits, so bare-name spawns resolve through PATH only.

Workarounds

Set NoDefaultCurrentDirectoryInExePath=1 in your user environment, or check a clone's root for executables before running TaskGraph in it.


Source: NVD

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59179HIGH8.3
  • JavaScript logoJavaScript
  • @openhop/server
NoYesOct 28, 2026
CVE-2026-59176HIGH7.8
  • JavaScript logoJavaScript
  • functype-mcp-server
NoYesOct 28, 2026
GHSA-3pfx-gxff-vg76HIGH7.5
  • JavaScript logoJavaScript
  • seroval
NoYesOct 28, 2026
GHSA-fvxq-xq4h-rqgmMEDIUMN/A
  • JavaScript logoJavaScript
  • @sentry/nextjs
NoYesOct 28, 2026
GHSA-3fgc-wc43-9q2fHIGHN/A
  • JavaScript logoJavaScript
  • taskgraph-ai
NoYesOct 28, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management