Description
Uni-CLI gives people and agents one command interface for websites, browsers, desktop applications, local tools, and MCP. Prior to version 0.225.2, Uni-CLI exposed the legacy JSON-RPC-over-HTTP MCP transport on loopback without validating browser Origin headers before routing requests. A malicious web page could send a CORS simple POST request, such as text/plain, to the local /mcp endpoint and deliver a JSON-RPC body to the dispatcher. If the user had started the local MCP HTTP transport, that page could drive tools/call requests against the user's local Uni-CLI server. The Streamable HTTP transport already enforced this browser-to-localhost boundary. The legacy stateless HTTP path did not, so the two HTTP transports had drifted. This issue is about the browser-to-localhost boundary; it does not change Uni-CLI's local-code-execution trust model. This issue has been patched in version 0.225.2.
Published: 2026-10-23
Score: 8.6 High
EPSS: n/a
KEV: No
Impact: Local code execution via browser‑initiated requests
Action: Immediate Patch
AI Analysis

Impact

Uni‑CLI exposed a legacy JSON‑RPC‑over‑HTTP MCP transport on loopback that silently accepted requests without validating the browser Origin header. A malicious web page can send a simple CORS POST to localhost /mcp, delivering a JSON‑RPC payload that the dispatcher will execute. This allows the attacker to issue arbitrary Uni‑CLI tool calls on the victim’s local machine, effectively giving the attacker local code execution power. The vulnerability does not alter Uni‑CLI’s trust model for local code execution but removes the boundary that previously prevented browsers from targeting the local service.

Affected Systems

The problem affects all versions of Uni‑CLI older than 0.225.2 that provide the legacy MCP transport on loopback. Users running olo‑dot‑io’s Uni‑CLI on any OS when the local MCP HTTP service is enabled are susceptible.

Risk and Exploitability

The CVSS score of 8.6 indicates high severity. The exploit is straightforward: a user must visit a malicious page while the local MCP service is running, and the browser will send the crafted POST without user permission. The EPSS score is not currently available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting no known large‑scale exploitation yet, but the ease of the attack vector leaves it highly actionable.

Generated by OpenCVE AI on October 23, 2026 at 17:00 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Uni‑CLI 0.225.2 or later, which implements Origin header checks on the legacy MCP transport.
  • If an upgrade is not immediately possible, disable the legacy JSON‑RPC‑over‑HTTP MCP transport on loopback to prevent browser requests from reaching Uni‑CLI.
  • Additionally, restrict incoming traffic to localhost /mcp by firewall rules or only start the local MCP HTTP service when necessary.

Generated by OpenCVE AI on October 23, 2026 at 17:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 15:00:00 +0000

Type Values Removed Values Added
Description Uni-CLI gives people and agents one command interface for websites, browsers, desktop applications, local tools, and MCP. Prior to version 0.225.2, Uni-CLI exposed the legacy JSON-RPC-over-HTTP MCP transport on loopback without validating browser Origin headers before routing requests. A malicious web page could send a CORS simple POST request, such as text/plain, to the local /mcp endpoint and deliver a JSON-RPC body to the dispatcher. If the user had started the local MCP HTTP transport, that page could drive tools/call requests against the user's local Uni-CLI server. The Streamable HTTP transport already enforced this browser-to-localhost boundary. The legacy stateless HTTP path did not, so the two HTTP transports had drifted. This issue is about the browser-to-localhost boundary; it does not change Uni-CLI's local-code-execution trust model. This issue has been patched in version 0.225.2.
Title Uni-CLI: Legacy HTTP MCP transport accepted browser-originated localhost requests
Weaknesses CWE-346
CWE-352
References
Metrics cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-23T14:49:42.619Z

Reserved: 2026-06-30T20:21:25.813Z

Link: CVE-2026-58497

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T15:17:34.257

Modified: 2026-10-23T15:17:34.257

Link: CVE-2026-58497

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T17:15:07Z

Weaknesses
  • CWE-346

    Origin Validation Error

  • CWE-352

    Cross-Site Request Forgery (CSRF)