Skip to content

CVE-2026-44661 python-utcp: SSRF via attacker-controlled OpenAPI servers[0].url in HTTP communication protocol

MediumCVSS 4.7 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

python-utcp is the python implementation of UTCP. Prior to 1.1.3, the utcp-http plugin is vulnerable to a blind Server-Side Request Forgery (SSRF) caused by a trust-boundary inconsistency between manual discovery and tool invocation. register_manual() validates the discovery URL against an HTTPS / loopback allowlist, but call_tool() and call_tool_streaming() reuse the resolved tool_call_template.url directly without revalidating, and the OpenAPI converter blindly trusts whatever servers[0].url an attacker-hosted spec declares. An attacker who hosts a malicious OpenAPI spec on a legitimate HTTPS endpoint can declare e.g. servers: [{ url: "http://127.0.0.1:9090" }] or servers: [{ url: "http://169.254.169.254" }]; the OpenAPI converter then produces tools whose URL points at internal services on the agent host. All three HTTP-class protocols (utcp_http.http, utcp_http.streamable_http, utcp_http.sse) shared the same gap. This vulnerability is fixed in 1.1.3.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi utcp-http(PyPI) < 1.1.2; <= 1.1.1; = 1.0.0; = 1.0.1 +6 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-http(PyPI) < 1.1.2 1.1.2
pypi utcp-http(PyPI) = 1.0.0 No fix listed
pypi utcp-http(PyPI) = 1.0.1 No fix listed
pypi utcp-http(PyPI) = 1.0.2 No fix listed
pypi utcp-http(PyPI) = 1.0.3 No fix listed
pypi utcp-http(PyPI) = 1.0.4 No fix listed
pypi utcp-http(PyPI) = 1.0.5 No fix listed
pypi utcp-http(PyPI) = 1.1.0 No fix listed
pypi utcp-http(PyPI) = 1.1.1 No fix listed
universal-tool-calling-protocol python-utcp = < 1.1.2 No fix listed
pypi utcp-http(PyPI) <= 1.1.1 No fix listed

References