CVE-2026-72883: Typescript Exec Template Command Injection

Unsanitized variables interpolated into command string template literals or shell options can lead to OS command injection. Avoid string interpolation when executing commands via SSH exec or shell spawn, and pass structured argument arrays instead.

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0TS
greprules fetch cve-2026-72883-typescript-exec-template-command-injection --engine opengrep

Description

Unsanitized variables interpolated into command string template literals or shell options can lead to OS command injection. Avoid string interpolation when executing commands via SSH exec or shell spawn, and pass structured argument arrays instead.