CVE-2026-45369 PUBLISHED

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

Assigner: GitHub_M
Reserved: 12.05.2026 Published: 14.05.2026 Updated: 14.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS Score: 8.3

Product Status

Vendor universal-tool-calling-protocol
Product python-utcp
Versions
  • Version < 1.1.2 is affected

References

Problem Types

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE