Skip to main content
Vulnerability Database/CVE-2026-101059

CVE-2026-101059: utcp-http OAuth2 Auth Bypass Vulnerability

CVE-2026-101059 is an authentication bypass flaw in utcp-http before 1.1.4 that allows attackers to steal OAuth2 credentials by redirecting token requests to malicious endpoints. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-101059 Overview

CVE-2026-101059 affects the utcp-http library before version 1.1.4, part of the Universal Tool Calling Protocol (UTCP) Python implementation. The library fails to validate the OAuth2 tokenUrl field parsed from remote OpenAPI specifications. An attacker who controls an OpenAPI spec can direct the library to POST a victim's client_id and client_secret to an arbitrary attacker-controlled endpoint. The flaw is tracked as a Server-Side Request Forgery weakness [CWE-918] and enables credential theft when a victim registers a malicious spec and invokes a generated OAuth2-protected tool.

Critical Impact

Attackers can exfiltrate OAuth2 client credentials by hosting a crafted OpenAPI specification that redirects token requests to an endpoint under their control.

Affected Products

  • utcp-http Python package versions prior to 1.1.4
  • Applications built on the Universal Tool Calling Protocol (UTCP) that import utcp-http
  • Tooling pipelines that auto-register OpenAPI specifications from untrusted sources

Discovery Timeline

  • 2026-09-27 - CVE-2026-101059 published to NVD
  • 2026-09-30 - Last updated in NVD database

Technical Details for CVE-2026-101059

Vulnerability Analysis

The utcp-http library generates tool wrappers from OpenAPI specifications supplied by third parties. When a specification declares an OAuth2 security scheme, the library extracts the tokenUrl field and later issues an HTTP POST to that URL carrying the client's credentials. The library performs no allowlist, domain pinning, or origin comparison between the token endpoint and the API host described in the spec. A victim registering an attacker-controlled spec therefore grants the attacker a credential exfiltration primitive on the next tool invocation.

The advisory published by the UTCP maintainers and VulnCheck classifies the issue as a trust boundary bypass. The library implicitly trusts remote OpenAPI content as configuration data, when that content should be treated as untrusted input.

Root Cause

The root cause is missing input validation on the OAuth2 tokenUrl field during OpenAPI specification parsing. The library honors any URL value supplied in the spec, including hosts unrelated to the declared API server. No scheme, host, or path restrictions are enforced before credentials are transmitted.

Attack Vector

Exploitation requires a victim to register an attacker-supplied OpenAPI specification and invoke a tool whose security scheme references the OAuth2 flow. The attack vector is Network with user interaction required. Upon tool invocation, the library sends an HTTP POST containing client_id and client_secret to the attacker's endpoint, where the credentials can be logged and reused against the legitimate authorization server. See the GitHub Security Advisory GHSA-8cp3-qxj6-px34 and the VulnCheck Advisory UTCP Trust Boundary Bypass for additional technical context.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-101059

Indicators of Compromise

  • Outbound HTTPS POST requests from Python processes running utcp-http to hosts that do not match the declared API server in any registered OpenAPI specification.
  • Presence of OpenAPI specifications on disk whose securitySchemes.*.flows.*.tokenUrl points to a different domain than servers[*].url.
  • Authorization server logs showing authentication failures for a client whose credentials were last used from an unexpected IP or user agent.

Detection Strategies

  • Instrument the HTTP client used by utcp-http to log the destination of every OAuth2 token request and alert on tokens sent to unexpected hosts.
  • Perform static scanning of ingested OpenAPI specs to flag any tokenUrl whose host differs from the specification's declared API server.
  • Correlate OAuth2 token endpoint traffic with the inventory of approved identity providers; investigate requests to any host not on the allowlist.

Monitoring Recommendations

  • Track installed versions of utcp-http across developer workstations and build agents to confirm all instances are at 1.1.4 or later.
  • Monitor registration events for new OpenAPI specifications and record the source URL and SHA-256 of each spec.
  • Enable egress logging on hosts that execute UTCP-generated tools to retain evidence of credential exfiltration attempts.

How to Mitigate CVE-2026-101059

Immediate Actions Required

  • Upgrade utcp-http to version 1.1.4 or later across all environments that consume OpenAPI specifications.
  • Rotate any OAuth2 client_secret values that were used with tools generated from third-party or unverified OpenAPI specifications.
  • Audit registered OpenAPI specifications and remove any whose tokenUrl points outside the expected identity provider.

Patch Information

The maintainers of the python-utcp project addressed the issue in utcp-http 1.1.4. Refer to the GitHub Security Advisory GHSA-8cp3-qxj6-px34 for the fixed release and the validation logic added to the OAuth2 handler.

Workarounds

  • Restrict registration of OpenAPI specifications to a curated internal catalog and reject specs fetched from arbitrary URLs.
  • Enforce an egress allowlist that limits OAuth2 token endpoint destinations to known identity providers.
  • Pre-process incoming OpenAPI specifications to strip or validate tokenUrl values before the specs reach utcp-http.
bash
# Upgrade utcp-http to the patched release
pip install --upgrade 'utcp-http>=1.1.4'

# Verify the installed version
python -c "import importlib.metadata; print(importlib.metadata.version('utcp-http'))"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.