Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. utcp-http
  4. ›
  5. GHSA-8cp3-qxj6-px34

GHSA-8cp3-qxj6-px34: utcp-http has an OAuth2 `tokenUrl` Trust Boundary Bypass in OpenAPI Conversion

August 25, 2026

The utcp-http library (<= 1.1.3) unconditionally trusts the tokenUrl field embedded in remote OpenAPI security schemes. When a victim registers an attacker-controlled OpenAPI spec and invokes any generated OAuth2-protected tool, the library POSTs the victim’s client_id and client_secret to the attacker-supplied token endpoint without any URL validation. The same ensure_secure_url() guard applied to discovery URLs and tool invocation URLs is absent for the OAuth2 token endpoint, creating a credential-exfiltration path.

References

  • github.com/advisories/GHSA-8cp3-qxj6-px34
  • github.com/universal-tool-calling-protocol/python-utcp/commit/fc3268e2a62e1181f91a63faf0a9bcee7639db29
  • github.com/universal-tool-calling-protocol/python-utcp/security/advisories/GHSA-8cp3-qxj6-px34

Code Behaviors & Features

Detect and mitigate GHSA-8cp3-qxj6-px34 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.4

Fixed versions

  • 1.1.4

Solution

Upgrade to version 1.1.4 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

pypi/utcp-http/GHSA-8cp3-qxj6-px34.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 26 Aug 2026 00:16:51 +0000.