CVE-2026-48983: Pamusb Python Command Injection

Constructing OS commands using string formatting or concatenation and executing them in a shell is vulnerable to command injection. An attacker can inject arbitrary shell commands. Use a list of arguments with subprocess.run() without shell=True instead.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-48983-pamusb-python-command-injection --engine opengrep

Description

Constructing OS commands using string formatting or concatenation and executing them in a shell is vulnerable to command injection. An attacker can inject arbitrary shell commands. Use a list of arguments with subprocess.run() without shell=True instead.