---
id: CVE-2026-58497
title: >-
  Uni-CLI: Legacy HTTP MCP transport accepted browser-originated localhost
  requests
summary: >-
  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
  validatin…
severity: high
cvss: 8.6
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-346
  - CWE-352
vendor: olo-dot-io
product: Uni-CLI
affected:
  - Uni-CLI < 0.225.2
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-10-23T20:54:34.404803Z'
published: '2026-10-23'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T20:57:14.612Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-58497'
references:
  - url: >-
      https://github.com/olo-dot-io/Uni-CLI/security/advisories/GHSA-v3f4-w7r7-v3hm
    label: >-
      https://github.com/olo-dot-io/Uni-CLI/security/advisories/GHSA-v3f4-w7r7-v3hm
  - url: 'https://github.com/olo-dot-io/Uni-CLI/releases/tag/v0.225.2'
    label: 'https://github.com/olo-dot-io/Uni-CLI/releases/tag/v0.225.2'
tags:
  - cve.org
ingestedAt: '2026-10-23T15:29:36.880Z'
---

## Overview

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.

## Affected

- `Uni-CLI < 0.225.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
