CVE Catalog

CVE-2026-45369

High
Published: Translated: NVD NIST

Summary

In the python-utcp library prior to version 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. This allows an attacker to inject arbitrary shell commands.

Risk Assessment

This vulnerability allows an attacker to execute malicious commands, potentially leading to serious security breaches. Organizations should be aware of the risks associated with unauthorized access to systems.

Recommendation

It is recommended to upgrade to version 1.1.3 or later to mitigate this vulnerability. Additionally, conducting a security audit of applications using this library is advisable.

Other vulnerabilities in python-utcp

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS