python-utcp: SSRF via attacker-controlled OpenAPI servers[0].url in HTTP communication protocol
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| universal-tool-calling-protocol | python-utcp | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Universal-tool-calling-protocol | Python-utcp |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-39j6-4867-gg4w | utcp-http vulnerable to SSRF via attacker-controlled OpenAPI servers[0].url in HTTP communication protocol |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.175% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Universal-tool-calling-protocol
Universal-tool-calling-protocol python-utcp |
|
| Vendors & Products |
Universal-tool-calling-protocol
Universal-tool-calling-protocol python-utcp |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | python-utcp: SSRF via attacker-controlled OpenAPI servers[0].url in HTTP communication protocol | |
| Weaknesses | CWE-918 | |
| References |
| |
| Metrics |
cvssV3_1
|