🔍 CVE-2026-58497

0.0
CVSS Score
UNKNOWN
2026-10-23
2026-10-23 15:17
✅ 완료

🇰🇷 한글 설명

Uni-CLI는 웹사이트, 브라우저, 데스크톱 앱, 로컬 도구 및 MCP를 위한 단일 명령 인터페이스를 제공합니다. 0.225.2 이전 버전에서는 레거시 JSON-RPC over HTTP MCP 전송 방식이 브라우저 Origin 헤더 검증 없이 loopback에 노출되어, 악성 웹페이지가 로컬 /mcp 엔드포인트로 CORS 단순 POST 요청을 보내 도구 호출을 실행할 수 있었습니다. 이 문제는 0.225.2 버전에서 패치되었습니다.

💡 쉬운 설명

사용자가 로컬 MCP HTTP 기능을 켜 둔 상태에서 악성 웹사이트를 방문하면, 그 사이트가 사용자 PC의 Uni-CLI 서버를 몰래 조작할 수 있습니다. 이 취약점은 브라우저에서 로컬 서버로 가는 요청을 막지 못한 데서 생겼습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Uni-CLI 0.225.2 미만 버전 (MCP HTTP 전송을 활성화한 환경)

⚔️ 공격 벡터

악성 웹페이지가 CORS 단순 POST(text/plain)로 localhost의 /mcp 엔드포인트에 JSON-RPC tools/call 요청을 전송

🛡️ 대응 방법

Uni-CLI를 0.225.2 이상으로 업그레이드하고, 불필요하면 로컬 MCP HTTP 전송을 비활성화

🔧 검증 코드

출력된 버전이 0.225.2 이상이면 패치된 것이며, 미만이거나 명령이 없으면 설치 여부와 버전을 확인해 업그레이드가 필요합니다.

Shell / Script
uni-cli --version 2>/dev/null || npm ls -g uni-cli 2>/dev/null | grep uni-cli

💻 영향받는 소프트웨어

IBM WebSphere Application Server