Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious OpenAPI spec with attacker tokenUrl
-
DeliveryVictim registers attacker-controlled spec
-
ExploitVictim invokes OAuth2-protected tool
-
ExecutionLibrary POSTs client_id/client_secret to tokenUrl
-
ImpactAttacker captures OAuth2 credentials
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 | Requires that the victim (1) use utcp-http <= 1.1.3 with its OpenAPI-to-tool conversion feature, (2) register an attacker-controlled OpenAPI specification whose OAuth2 flow defines a malicious tokenUrl, and (3) invoke a generated OAuth2-protected tool while holding OAuth2 client_id/client_secret credentials. The limiting factor is this required victim interaction (UI:P): the attacker cannot trigger the flow unprompted - the victim must actively add the untrusted spec and call the tool. There is no authentication requirement on the attacker side (PR:N) and no non-default configuration is needed beyond using the OpenAPI/OAuth2 tool-generation feature, which is a core function of the library. The ensure_secure_url() guard that protects discovery and invocation URLs is simply absent for the token endpoint. |
| Impact | This is a genuine but conditional credential-theft/SSRF flaw rather than a mass-exploitation threat. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L) correctly captures the two-sided nature: no privileges or special attack requirements are needed on the attacker side, but exploitation is gated on victim user interaction (UI:P) - the victim must register an attacker-controlled OpenAPI spec and then invoke a generated OAuth2 tool. The dominant impact is confidentiality (VC:H): the victim's OAuth2 client_id and client_secret are POSTed to an attacker-chosen token endpoint. The CWE-918 (SSRF) classification is only partially descriptive - the primary outcome is direct credential exfiltration to an external HTTPS endpoint, with SSRF-to-internal-hosts as a secondary use of the same missing validation. No EPSS score, no CISA KEV listing, and no standalone exploit are present in the input; however, the GHSA advisory provides a complete source-to-sink data flow (file/line level), which is effectively PoC-grade guidance even if no packaged exploit is published. Net: real and clearly demonstrated, but the required social-engineering step (victim voluntarily registering a malicious spec) and the niche footprint of the utcp-http library keep real-world priority moderate rather than urgent. |
| Exploit ScenarioDerived | An attacker publishes an OpenAPI specification whose OAuth2 security scheme sets tokenUrl to an attacker-controlled HTTPS server, then convinces a victim to register that spec in their utcp-http client. When the victim invokes any generated OAuth2-protected tool, the library POSTs the victim's client_id and client_secret to the attacker's endpoint, yielding direct credential theft; the same missing validation also allows pointing tokenUrl at internal HTTP addresses for SSRF. No packaged exploit is published, but the GHSA advisory documents the full source-to-sink flow. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 27, 2026
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.
RemediationAI
Upgrade utcp-http to 1.1.4 or later, which is the vendor-released patch for this issue (pip install --upgrade utcp-http==1.1.4); the upstream fix commit is fc3268e2a62e1181f91a63faf0a9bcee7639db29 in universal-tool-calling-protocol/python-utcp, and details are in GHSA-8cp3-qxj6-px34. If immediate upgrade is not possible, restrict the library to OpenAPI specifications from trusted, first-party sources only, since the flaw is triggered by registering an attacker-controlled spec; additionally, rotate any OAuth2 client secrets that may have been submitted to an untrusted tokenUrl, and monitor outbound HTTPS POSTs carrying client_id/client_secret payloads from application hosts. Because the unvalidated endpoint can also target internal services, enforce egress filtering that blocks application hosts from reaching internal RFC1918 addresses and plain-HTTP endpoints - a control that will not stop credential theft against an attacker-controlled external HTTPS collector but does blunt the SSRF variant. Wrapping or auditing the OAuth2Auth token_url before tool invocation (for example, rejecting non-allowlisted token endpoints) is a viable temporary compensating control, but it must be applied by the integrating application and carries the side effect of breaking legitimate OAuth2 providers not on the allowlist.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
utcp-http is the HTTP transport implementation of the Universal Tool Calling Protocol (UTCP) Python library, which can auto-generate callable tools from remote OpenAPI specifications. During conversion, OpenApiConverter._extract_auth() reads the OAuth2 flow's tokenUrl directly from the untrusted spec (openapi_converter.py around lines 369-377) and stores it verbatim in an OAuth2Auth object, which is then carried into the generated HttpCallTemplate. At call time, HttpCommunicationProtocol._handle_oauth2() POSTs the client credentials to that stored URL (http_communication_protocol.py line 376). The ensure_secure_url() helper defined in _security.py, which rejects plain-HTTP non-loopback URLs and known internal address ranges, is invoked for the discovery URL (line 129) and the tool invocation URL (line 281) but never for auth_details.token_url, producing a full source-to-sink trust-boundary gap. This maps to CWE-918 (Server-Side Request Forgery): the missing validation lets an attacker point credential submission at an external HTTPS collector for direct theft or at an internal HTTP service for SSRF, and the same class of flaw applies to any URL taken from a third-party specification without re-validation. The affected package is the pip artifact utcp-http (CPE cpe:2.3:a:universal-tool-calling-protocol:python-utcp:*:*:*:*:*:*:*:*).
Know when Python Utcp 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
PR:N since the attacker needs no privileges, but UI:R because the victim must register the malicious spec and invoke the tool; C:H reflects client_secret theft, I:L reflects SSRF-driven requests to internal endpoints.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
utcp-http before 1.1.4 fails to validate the OAuth2 tokenUrl field from remote OpenAPI specifications, allowing attackers to redirect credential submission to arbitrary endpoints. When a victim registers an attacker-controlled OpenAPI spec and invokes a generated OAuth2-protected tool, the library POSTs the victim's client_id and client_secret to the attacker-supplied token endpoint without URL validation.
Articles & Coverage 1
Technical POC Analysis
Severity metadata note: the advisory body and PoC docstring quote CVSS 7.6, but the vector they print (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N) computes to 7.1, which is the score in the advisor…
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Organizations using utcp-http 1.1.3 or earlier to consume third-party OpenAPI specifications are exposed to theft of OAuth2 client credentials and server-side request forgery against internal services. An unauthenticated attacker who supplies a malicious specification can cause a victim who registers it and invokes a generated tool to send OAuth2 client_id and client_secret to an attacker-controlled token endpoint; no public exploit identified at time of analysis. Leadership should treat this as a high-priority remediation because leaked OAuth2 secrets can enable downstream account takeover and SSRF can expose internal network resources.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
More in Python Utcp
View allpython-utcp versions before 1.1.4 allow server-side request forgery through the utcp-http plugin's HttpCommunicationProt
Server-side request forgery in python-utcp (utcp-http) before 1.1.12 allows an unauthenticated remote attacker to cause
Server-side request forgery in python-utcp 1.1.0's utcp-gql and utcp-websocket components allows remote low-privileged a
Server-side request forgery in the UTCP Python GraphQL (utcp-gql) and WebSocket (utcp-websocket) plugins at 1.1.0 and ea
Cleartext MCP server connections in utcp-mcp (the MCP plugin of python-utcp) through 1.1.2 allow a plain-HTTP or plain-W
EUVD-2026-87984
GHSA-r549-qqpm-phj8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB