RepoJournal
Shopify

Shopify

Hydrogen, Polaris, and the CLI - the dev platform behind millions of stores

Keep up with Shopify in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: JavaScript Full archive →

The Wire · Showcase

CRITICAL COMMAND INJECTION IN SHOPIFY CLI — PATCH IMMEDIATELY

By RepoJournal · Filed · About Shopify

Shopify CLI's process killer contains a command injection vulnerability on Windows that lets attackers execute arbitrary commands through a malicious PID string.

The vulnerability [1] lives in the treeKill utility, where insufficient PID validation combined with shell-interpreted `child_process.exec` calls opened a direct path to code execution. The fix [2] replaces the broken Number.isNaN check with strict regex validation and swaps exec for spawn to prevent argument interpretation. This is the kind of dormant-until-discovered flaw that affects every developer using the CLI on Windows — upgrade before your next theme push or app deployment.

Beyond the security work, the team spent the last 24 hours hardening test infrastructure and fixing runtime detection. The file watcher now catches new files added during dev sessions [3], which actually matters because files created after startup were silently dropped by the watcher. The test suite is shifting away from filesystem mocks toward real temporary directories , a pattern that catches more bugs in practice. These aren't headline moves, but they're the kind of foundational work that prevents hours of debugging later.

One more fix landed for theme pushes: settings_schema.json now uploads before validator-consumer assets [4], which unblocks fresh dev theme deploys that use the new color_palette setting type. If you've hit the "first push fails, second push works" wall, this is your fix.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] 🛡️ Sentinel: [CRITICAL] Fix command injection in treeKill utility Shopify/cli
  2. [2] Merge pull request #7430 from Shopify/sentinel/fix-tree-kill-command-injection-13735669651940213355 Shopify/cli
  3. [3] Detect new files added during dev session in file watcher ↗ Shopify/cli
  4. [4] Upload settings_schema.json before validator-consumer assets ↗ Shopify/cli

Quick answers

What shipped in Shopify on May 9, 2026?
Shopify CLI's process killer contains a command injection vulnerability on Windows that lets attackers execute arbitrary commands through a malicious PID string. In total, 12 commits and 9 pull requests landed.
Who contributed to Shopify on May 9, 2026?
2 developers shipped this update, including isaacroldan and NathanPJF.
What were the notable Shopify updates?
🛡️ Sentinel: [CRITICAL] Fix command injection in treeKill utility, Merge pull request #7430 from Shopify/sentinel/fix-tree-kill-command-injection-13735669651940213355, and Detect new files added during dev session in file watcher.

More from Shopify

Daily updates, in your inbox

Follow Shopify

Keep up with Shopify in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?