Skip to content
MediumVulnerability

CVE-2026-58497: Uni-CLI legacy MCP HTTP transport accepts cross-origin requests on localhost

Identifier
CVE-2026-58497
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Uni-CLI versions before 0.225.2 exposed the legacy JSON-RPC-over-HTTP MCP transport on loopback without validating browser Origin headers. A malicious web page could send a CORS simple POST to the local /mcp endpoint and drive tools/call requests against a user's local Uni-CLI server, but only if the user had started the local MCP HTTP transport. The Streamable HTTP transport already enforced this boundary, so the two HTTP transports had drifted apart.

Mitigation

Fixed in 0.225.2.