Skip to content

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

HighCVSS 8.3 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi utcp-cli(PyPI) < 1.1.2; <= 1.1.1; = 1.0.0; = 1.0.1 +3 more 1.1.2 Fixed
universal-tool-calling-protocol python-utcp = < 1.1.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi utcp-cli(PyPI) < 1.1.2 1.1.2
pypi utcp-cli(PyPI) = 1.0.0 No fix listed
pypi utcp-cli(PyPI) = 1.0.1 No fix listed
pypi utcp-cli(PyPI) = 1.0.2 No fix listed
pypi utcp-cli(PyPI) = 1.1.0 No fix listed
pypi utcp-cli(PyPI) = 1.1.1 No fix listed
universal-tool-calling-protocol python-utcp = < 1.1.2 No fix listed
pypi utcp-cli(PyPI) <= 1.1.1 No fix listed

References