Skip to content
OpenAdvisories
High · 8.3 CVE-2026-45369 EUVD-2026-30475GHSA-33p6-5jxp-p3x4PYSEC-2026-560

python-utcp: Command Injection via Unsanitized Argument Substitution in CLI Communication Protocol

Published May 14, 2026 · Updated May 16, 2026 · Assigned by GitHub_M

Description

python-utcp is the python implementation of UTCP. Prior to 1.1.3, the _substitute_utcp_args method in cli_communication_protocol.py inserts user-controlled tool_args values directly into shell command strings without any sanitization or escaping. These commands are then executed via /bin/bash -c (Unix) or powershell.exe -Command (Windows), allowing an attacker to inject arbitrary shell commands. This vulnerability is fixed in 1.1.3.

Affected products

VendorProductAffectedFixed
universal-tool-calling-protocol python-utcp < 1.1.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI utcp-cli < 1.1.2 1.1.2 GHSA-33p6-5jxp-p3x4

References