Python Utcp
Monthly
python-utcp versions before 1.1.4 allow server-side request forgery through the utcp-http plugin's HttpCommunicationProtocol.call_tool, which validates the initial tool URL but follows HTTP redirects with no per-hop re-validation, so an attacker-controlled tool endpoint can return a 3xx Location that drives the UTCP client into internal HTTP services or the cloud metadata endpoint (169.254.169.254) and returns the response body to the tool caller. The vulnerable path is the core UTCP pattern of registering a tool or manual/OpenAPI spec from a runtime-supplied URL and then invoking it; the initial URL only needs to pass ensure_secure_url (any https:// or a benign attacker-owned host), with the attacker supplying the redirect. Exploitation is remote and requires no privileges (CVSS 4.0 PR:N, assessed as CVSS:3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N), but it is gated on the host ingesting and invoking an attacker-influenced tool spec and on an internal HTTP service being reachable from the client, which keeps practical priority moderate rather than critical; no public exploit code was identified at time of analysis and the issue is not in CISA KEV. Vendor-released patch: 1.1.4.
Credential exfiltration and server-side request forgery in utcp-http 1.1.3 and earlier allow an attacker who supplies a malicious OpenAPI specification to redirect a victim's OAuth2 client_id and client_secret to an arbitrary token endpoint. The library validates discovery and tool-invocation URLs via ensure_secure_url() but never applies the same guard to the OAuth2 tokenUrl taken from a remote spec, so the attacker-chosen endpoint receives the credentials in cleartext when a generated OAuth2-protected tool is invoked. Exploitation requires victim interaction (the victim must register the attacker-controlled spec and call the generated tool) and no attacker authentication; the assessed vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N (7.1), with the unvalidated endpoint also usable for SSRF against internal HTTP ranges. No public exploit identified at time of analysis.
Server-side request forgery in python-utcp (utcp-http) before 1.1.12 allows an unauthenticated remote attacker to cause a victim's client to issue requests to loopback services and return response bodies if the victim registers a malicious UTCP manual served from a non-loopback origin. Exploitation requires user interaction (registering the manual) and is limited to loopback interfaces, with further prerequisites of a loopback service that answers unauthenticated requests with useful data. No public exploit code exists, and the issue is fixed in utcp-http 1.1.12; this is a conditional-severity issue rather than a mass-exploitation threat.
Server-side request forgery in the UTCP Python GraphQL (utcp-gql) and WebSocket (utcp-websocket) plugins at 1.1.0 and earlier lets unauthenticated attackers (CVSS 4.0 vector PR:N, and the assessed 3.1 vector AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N) force the host to open outbound connections to internal services and cloud metadata endpoints such as 169.254.169.254. utcp-gql still relies on a startswith prefix check for http://localhost and http://127.0.0.1, so crafted hostnames like http://127.0.0.1.attacker.example or http://localhost.evil.com satisfy the check and then resolve to any address the attacker's DNS returns, while utcp-websocket performs no URL validation at all despite docstrings claiming it enforces 'WSS or localhost only'. Both plugins attach the call template's configured auth headers to the outbound connection, so a successful SSRF also exfiltrates configured API keys and OAuth tokens to the attacker-controlled host; risk is genuine but low urgency, exploitation requires the victim to ingest an attacker-supplied tool or manual call-template URL (UI:P/UI:R) and, for the GraphQL path, attacker-controlled DNS resolution, and no public exploit identified at time of analysis (no CISA KEV entry, no POC reported).
Cleartext MCP server connections in utcp-mcp (the MCP plugin of python-utcp) through 1.1.2 allow a plain-HTTP or plain-WS, non-loopback MCP server URL to be dialed without the ensure_secure_url check that the HTTP-family plugins enforce, so the HTTPS/WSS-or-loopback rule is silently skipped for call templates. The practical risk is low: exploitation requires an operator to author an mcpServers entry pointing at a non-loopback plaintext URL and an attacker to already hold a man-in-the-middle position on that network path, and the misconfigured channel only carries an MCP handshake rather than an arbitrary request returning a response body. The OAuth2 token_url credential-leak path from the original report is not reachable in affected versions because the OAuth2 handler was never invoked. Remote attackers are unauthenticated (CVSS:4.0 PR:N), no public exploit code has been identified, and there is no confirmed active exploitation (no CISA KEV listing); the root cause is CWE-319, cleartext transmission of sensitive information.
Server-side request forgery in python-utcp 1.1.0's utcp-gql and utcp-websocket components allows remote low-privileged attackers to coerce the server into issuing arbitrary outbound HTTP requests, potentially reaching internal infrastructure not exposed to the public internet. The affected library implements the universal-tool-calling-protocol and the vulnerable code paths reside in its GraphQL and WebSocket transport handlers. A public exploit has been disclosed via GitHub, and the vendor did not respond to coordinated disclosure, leaving no official patch available at time of analysis.
python-utcp versions before 1.1.4 allow server-side request forgery through the utcp-http plugin's HttpCommunicationProtocol.call_tool, which validates the initial tool URL but follows HTTP redirects with no per-hop re-validation, so an attacker-controlled tool endpoint can return a 3xx Location that drives the UTCP client into internal HTTP services or the cloud metadata endpoint (169.254.169.254) and returns the response body to the tool caller. The vulnerable path is the core UTCP pattern of registering a tool or manual/OpenAPI spec from a runtime-supplied URL and then invoking it; the initial URL only needs to pass ensure_secure_url (any https:// or a benign attacker-owned host), with the attacker supplying the redirect. Exploitation is remote and requires no privileges (CVSS 4.0 PR:N, assessed as CVSS:3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N), but it is gated on the host ingesting and invoking an attacker-influenced tool spec and on an internal HTTP service being reachable from the client, which keeps practical priority moderate rather than critical; no public exploit code was identified at time of analysis and the issue is not in CISA KEV. Vendor-released patch: 1.1.4.
Credential exfiltration and server-side request forgery in utcp-http 1.1.3 and earlier allow an attacker who supplies a malicious OpenAPI specification to redirect a victim's OAuth2 client_id and client_secret to an arbitrary token endpoint. The library validates discovery and tool-invocation URLs via ensure_secure_url() but never applies the same guard to the OAuth2 tokenUrl taken from a remote spec, so the attacker-chosen endpoint receives the credentials in cleartext when a generated OAuth2-protected tool is invoked. Exploitation requires victim interaction (the victim must register the attacker-controlled spec and call the generated tool) and no attacker authentication; the assessed vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N (7.1), with the unvalidated endpoint also usable for SSRF against internal HTTP ranges. No public exploit identified at time of analysis.
Server-side request forgery in python-utcp (utcp-http) before 1.1.12 allows an unauthenticated remote attacker to cause a victim's client to issue requests to loopback services and return response bodies if the victim registers a malicious UTCP manual served from a non-loopback origin. Exploitation requires user interaction (registering the manual) and is limited to loopback interfaces, with further prerequisites of a loopback service that answers unauthenticated requests with useful data. No public exploit code exists, and the issue is fixed in utcp-http 1.1.12; this is a conditional-severity issue rather than a mass-exploitation threat.
Server-side request forgery in the UTCP Python GraphQL (utcp-gql) and WebSocket (utcp-websocket) plugins at 1.1.0 and earlier lets unauthenticated attackers (CVSS 4.0 vector PR:N, and the assessed 3.1 vector AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N) force the host to open outbound connections to internal services and cloud metadata endpoints such as 169.254.169.254. utcp-gql still relies on a startswith prefix check for http://localhost and http://127.0.0.1, so crafted hostnames like http://127.0.0.1.attacker.example or http://localhost.evil.com satisfy the check and then resolve to any address the attacker's DNS returns, while utcp-websocket performs no URL validation at all despite docstrings claiming it enforces 'WSS or localhost only'. Both plugins attach the call template's configured auth headers to the outbound connection, so a successful SSRF also exfiltrates configured API keys and OAuth tokens to the attacker-controlled host; risk is genuine but low urgency, exploitation requires the victim to ingest an attacker-supplied tool or manual call-template URL (UI:P/UI:R) and, for the GraphQL path, attacker-controlled DNS resolution, and no public exploit identified at time of analysis (no CISA KEV entry, no POC reported).
Cleartext MCP server connections in utcp-mcp (the MCP plugin of python-utcp) through 1.1.2 allow a plain-HTTP or plain-WS, non-loopback MCP server URL to be dialed without the ensure_secure_url check that the HTTP-family plugins enforce, so the HTTPS/WSS-or-loopback rule is silently skipped for call templates. The practical risk is low: exploitation requires an operator to author an mcpServers entry pointing at a non-loopback plaintext URL and an attacker to already hold a man-in-the-middle position on that network path, and the misconfigured channel only carries an MCP handshake rather than an arbitrary request returning a response body. The OAuth2 token_url credential-leak path from the original report is not reachable in affected versions because the OAuth2 handler was never invoked. Remote attackers are unauthenticated (CVSS:4.0 PR:N), no public exploit code has been identified, and there is no confirmed active exploitation (no CISA KEV listing); the root cause is CWE-319, cleartext transmission of sensitive information.
Server-side request forgery in python-utcp 1.1.0's utcp-gql and utcp-websocket components allows remote low-privileged attackers to coerce the server into issuing arbitrary outbound HTTP requests, potentially reaching internal infrastructure not exposed to the public internet. The affected library implements the universal-tool-calling-protocol and the vulnerable code paths reside in its GraphQL and WebSocket transport handlers. A public exploit has been disclosed via GitHub, and the vendor did not respond to coordinated disclosure, leaving no official patch available at time of analysis.