Skip to main content

utcp-http EUVDEUVD-2026-30479

| CVE-2026-44661 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-07 https://github.com/universal-tool-calling-protocol/python-utcp GHSA-39j6-4867-gg4w
4.7
CVSS 3.1 · Vendor: https://github.com/universal-tool-calling-protocol/python-utcp
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Host malicious OpenAPI spec with internal servers
  2. Delivery
    Inject registration URL into LLM context
  3. Exploit
    LLM agent calls register_manual(attacker_url)
  4. Install
    register_manual() validates HTTPS/discovery URL only, not server URLs
  5. C2
    OpenAPI parser extracts internal server URL from spec
  6. Execute
    LLM agent invokes tool and calls call_tool()
  7. Impact
    call_tool() reuses extracted URL without revalidation
  8. Step 8
    aiohttp sends request to internal endpoint (e.g., 169.254.169.254)
  9. Step 9
    Internal service responds with metadata or data
  10. Step 10
    Response returned to LLM
  11. Step 11
    Attacker exfiltrates via prompt injection or receives data in context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must satisfy two key conditions: (1) Host an OpenAPI specification on a server with a legitimate HTTPS certificate (passed by the initial register_manual() validation), and (2) Convince the LLM agent to call register_manual() with the attacker's OpenAPI URL, typically via prompt injection in user-supplied content or by social engineering. Once registered, exploitation is automatic-no further user interaction is required. The LLM agent must be configured to perform tool discovery and invocation (not all LLM agent architectures do this). The vulnerable plugin must be in use in the agent's tool-calling framework. Exploitation is NOT limited by authentication or specific deployment configurations; it works against default configurations because the trust boundary is only checked at registration time, not at invocation. The attacker does not need credentials to access the internal services themselves-the SSRF request comes from the agent's IP address, which may have internal network access. The attack does not require special privileges on the agent host (PR:N). The main constraint is convincing the agent to register the URL (UI:R), which is achievable via prompt injection but requires an opening for such injection in the LLM context.

Impact

CVSS 4.7 (AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N) indicates moderate exploitability with several mitigating factors: network access is required (AV:N) but attack complexity is high (AC:H), no privileges are needed (PR:N), but user interaction is required (UI:R). The UI:R flag reflects that an attacker must convince an LLM agent to register their malicious tool, typically via prompt injection or social engineering within the LLM context. However, CVSS does not fully capture the real-world risk: once a tool is registered, exploitation is automatic and requires no further user interaction-every subsequent tool call becomes a blind SSRF request. The scope change (S:C) indicates the attacker can affect resources beyond the vulnerable component (the agent itself can access firewalled endpoints). The integrity and confidentiality impact (I:L, C:L) understates the severity for cloud environments where SSRF attacks enable credential theft (AWS IAM metadata at 169.254.169.254, GCP metadata at metadata.google.internal). The high attack complexity (AC:H) reflects the need for a two-stage attack (host a malicious OpenAPI spec + convince the agent to use it), but once those conditions are met, exploitation is trivial. No KEV status, POC, or EPSS data provided; this is a pre-disclosure or early advisory. The primary real-world risk is in LLM agent deployments where tool discovery is dynamic or semi-automated-static tool allowlists eliminate the initial barrier. Internal network topology and credential exposure represent critical impact for organizations using this plugin in cloud environments.

Exploit ScenarioDerived

An attacker hosts a malicious but valid OpenAPI specification on a legitimate HTTPS server they control. The specification declares internal servers via servers: [{ url: "http://169.254.169.254" }] or other internal addresses like http://10.0.1.5:9200 (Elasticsearch). The attacker then uses prompt injection (e.g., embedded instructions in a document processed by the LLM agent) or social engineering to convince the LLM to discover and register this OpenAPI URL as a tool. When the LLM invokes the tool to call an operation, the utcp-http plugin reuses the internal server URL from the spec without re-validating it, sending an HTTP request directly to the cloud metadata service or internal service. The attacker's server responds with a benign or malicious response (or the metadata service responds with AWS credentials), and the response is returned to the LLM, where prompt injection techniques exfiltrate the data back to the attacker.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

Server-Side Request Forgery in utcp-http allows remote attackers to access internal cloud metadata endpoints and firewalled services by hosting a malicious OpenAPI specification on a legitimate HTTPS endpoint that declares internal server URLs, which are then blindly trusted during tool invocation without revalidation. The vulnerability affects utcp-http versions 1.1.1 and earlier, where call_tool() and call_tool_streaming() reuse previously resolved URLs from OpenAPI specs without re-checking security constraints, combined with a string-prefix bypass (localhost.evil.com bypassing startswith checks). This is a blind SSRF that exposes cloud metadata (AWS/GCP credentials from 169.254.169.254), internal services like Elasticsearch and Redis, and enables exfiltration via LLM responses when combined with prompt injection. No public exploit code or active exploitation is currently identified, but the vulnerability requires only network-level access and user interaction (convincing an LLM agent to register a malicious tool).

RemediationAI

Upgrade utcp-http to version 1.1.2 or later, which includes the new ensure_secure_url(url, context) security validation helper that properly parses hostnames using urllib.parse.urlparse and re-validates URLs at both registration and invocation time. The patch is available via pip with pip install --upgrade utcp-http>=1.1.2 and is tracked in commit 5b16e43 on the dev branch of the upstream repository. For users unable to upgrade immediately, apply these workarounds: (1) Strictly refuse to call register_manual() with any OpenAPI URLs controlled by untrusted parties, even if served over HTTPS; verify OpenAPI specifications before registration. (2) Restrict outbound network access from the host running the agent so that internal address ranges (RFC1918 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, link-local 169.254.0.0/16, and localhost 127.0.0.1/32) are unreachable via firewall rules or host-level egress filtering-this prevents SSRF requests from reaching cloud metadata endpoints and internal services even if exploited. (3) Disable dynamic tool registration and maintain a static, pre-vetted allowlist of OpenAPI specifications. Note that these workarounds have trade-offs: network restriction may break legitimate use cases if the agent needs to call internal services, and static allowlists reduce flexibility. The patch is the recommended path forward.

Affected VersionsENISA

python-utcp < 1.1.2

Affected Packages

pypi utcp-http fix: 1.1.2
euvd python_utcp fix: 1.1.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The utcp-http plugin implements the Universal Tool Calling Protocol (UTCP) HTTP transport layer for LLM agent tool calling. It processes OpenAPI specifications (tool definitions) through an OpenAPI converter that extracts server URLs from the servers[0].url field in the specification. The vulnerability stems from a trust-boundary inconsistency: register_manual() validates discovery URLs against an HTTPS/loopback allowlist, but call_tool() and call_tool_streaming() in three HTTP-class protocols (utcp_http.http, utcp_http.streamable_http, utcp_http.sse) directly reuse the tool_call_template.url resolved from the OpenAPI spec without re-validating it against security constraints. Additionally, the previous hostname validation used startswith('http://localhost') string matching, which fails to properly validate hostnames and allows bypasses like http://localhost.evil.com. The root cause is classified as CWE-918 (Server-Side Request Forgery), where user-controlled server declarations in an externally hosted OpenAPI spec are treated as trusted after initial discovery validation, but not re-validated at invocation time. The fix introduces a dedicated ensure_secure_url(url, context) security helper using urllib.parse.urlparse for proper hostname validation and applies it at both registration and invocation time.

Know when Redis gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/universal-tool-calling-protocol/python-utcp) PRIMARY 4.7 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Primary rating from Vendor (https://github.com/universal-tool-calling-protocol/python-utcp) · only source for this CVE.

CVSS VectorVendor: https://github.com/universal-tool-calling-protocol/python-utcp

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

Summary

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. An attacker who hosts a malicious OpenAPI spec on a legitimate HTTPS endpoint can declare servers: [{ url: "http://169.254.169.254" }] (or any internal address) in the spec; the OpenAPI converter blindly trusts that value and the tool becomes a blind SSRF primitive that exposes cloud metadata, internal services, and other firewalled-only endpoints to the LLM caller.

All three HTTP-class protocols (utcp_http.http, utcp_http.streamable_http, utcp_http.sse) shared the same gap, plus a separate prefix-bypass: the previous startswith("http://localhost") check let URLs like http://localhost.evil.com through.

Impact

A remote attacker who can convince the agent (via the LLM context, prompt injection, or a tool-discovery surface) to register their HTTPS OpenAPI URL can:

  • Map internal networks behind the agent.
  • Read AWS/GCP IAM credentials from cloud metadata endpoints (http://169.254.169.254, http://metadata.google.internal).
  • Reach unauthenticated internal services (Elasticsearch, Redis HTTP, internal admin panels).
  • Have responses returned to the LLM, which combined with prompt injection enables exfiltration back to the attacker.

Affected versions

utcp-http <= 1.1.1.

Patched versions

utcp-http 1.1.2.

Patch

Commit: 5b16e43 on dev.

  • New utcp_http._security helper: ensure_secure_url(url, context=...) parses the URL with urllib.parse.urlparse and validates the hostname (not a string prefix) against the loopback set, closing the localhost.evil.com bypass.
  • All three protocols call ensure_secure_url(url, context="manual discovery") in register_manual (replacing the duplicated prefix check) and ensure_secure_url(url, context="tool invocation") immediately before each aiohttp request in call_tool / call_tool_streaming. The runtime check is the actual SSRF fix.
  • New regression tests in test_security.py pin the accept/reject decisions and explicitly cover the historical bypass cases.

Workarounds

For users who cannot upgrade immediately:

  • Refuse to call register_manual with any URL controlled by an untrusted party, even over HTTPS.
  • Restrict outbound network access from the host running the agent so internal addresses (RFC1918, 169.254.0.0/16, loopback for cloud metadata) are unreachable.

Credit

Discovered and reported by @YLChen-007 in #83.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

More in Redis

View all
CVE-2026-48172 CRITICAL POC
10.0 May 21

Privilege escalation to root in the LiteSpeed User-End cPanel Plugin (versions 2.3 through before 2.4.5) lets attackers

CVE-2020-11981 CRITICAL POC
9.8 Jul 17

An issue was found in Apache Airflow versions 1.10.10 and below. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2024-31449 HIGH
8.8

Alpine Linux: valkey fixed in 7.2.7-r0

CVE-2025-49844 CRITICAL POC
9.9 Oct 03

UAF in Redis 8.2.1 via crafted Lua scripts by authenticated users. EPSS 12.4%. Patch available.

CVE-2025-46817 HIGH POC
8.8 Oct 03

Authenticated Redis users with permission to run server-side Lua can trigger an integer overflow (CWE-190) in the bundle

CVE-2022-0543 CRITICAL POC
10.0 Feb 18

It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific

CVE-2018-11218 CRITICAL POC
9.8 Jun 17

Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10,

CVE-2015-4335 CRITICAL POC
10.0 Jun 09

Redis before 2.8.21 and 3.x before 3.0.2 allows remote attackers to execute arbitrary Lua bytecode via the eval command.

CVE-2016-8339 CRITICAL POC
9.8 Oct 28

A buffer overflow in Redis 3.2.x prior to 3.2.4 causes arbitrary code execution when a crafted command is sent. Rated cr

CVE-2025-46819 HIGH POC
7.1 Oct 03

Authenticated Lua script execution in Redis 8.2.1 and earlier can be abused with a crafted long-string delimiter to trig

CVE-2026-77602 CRITICAL POC
9.9 Sep 23

Authenticated remote code execution in OpenC3 COSMOS (Ruby gem 'openc3' versions 5.1.0 through 7.2.1) lets any logged-in

CVE-2025-46818 HIGH POC
7.3 Oct 03

CVE-2025-46818 is a sandbox-escape flaw in Redis's embedded Lua scripting engine (all versions up to and including 8.2.1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy