Skip to main content
← All vulnerabilities
CVE-2026-45366GHSA-R8J5-8747-88CM

typescript-utcp: SSRF via attacker-controlled OpenAPI servers[0].url in HTTP communication protocol

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.1.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

typescript-utcp is a typescript implementation of UTCP. Prior to 1.1.2, the @utcp/http package is vulnerable to a blind Server-Side Request Forgery (SSRF) caused by a trust-boundary inconsistency between manual discovery and tool invocation. registerManual() validates the discovery URL against an HTTPS / loopback allowlist, but callTool() reuses the resolved toolCallTemplate.url directly without revalidating, and the OpenApiConverter 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 converter then produces tools whose URL points at internal services on the agent host. This vulnerability is fixed in 1.1.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • universal-tool-calling-protocol typescript-utcp

    fixed in 1.1.2

  • @utcp/httpnpm

    fixed in 1.1.2

References 1

GitHub · universal-tool-calling-protocol/typescript-utcp