p PatchFirst

CVE-2026-45369

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.3 · High · EPSS 0.3% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • python-utcp

    Versions
    • < 1.1.2: Affected

    No fix published

  • utcp-cli PyPI

    Versions
    • 1.0.0
    • 1.0.1
    • 1.0.2
    • 1.1.0
    • 1.1.1
    Affected ranges
    • ECOSYSTEM: < 1.1.2

    Update to 1.1.2

Original sources

Check your server →