개요
이 취약점이 무엇인지
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.74.2 to before version 1.83.7, two endpoints used to preview an MCP server before saving it — POST /mcp-rest/test/connection and POST /mcp-rest/test/tools/list — accepted a full server configuration in the request body, including the command, args, and env fields used by the stdio transport. When called with a stdio configuration, the endpoints attempted to connect, which spawned the supplied command as a subprocess on the proxy host with the privileges of the proxy process. The endpoints were gated only by a valid proxy API key, with no role check. Any authenticated user — including holders of low-privilege internal-user keys — could therefore run arbitrary commands on the host. This issue has been patched in version 1.83.7.
실제 악용 사례
CISA(미국 사이버보안청)가 실제 공격에 악용된 사실을 확인해 KEV 카탈로그에 올린 취약점이에요. 우선 패치 대상으로 보세요.
- 이름
- BerriAI LiteLLM Command Injection Vulnerability
- 조치 사항
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- 등재일
- 2026-06-08
- 조치 기한
- 2026-06-22
- 랜섬웨어 사용
- 확인되지 않음
- This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. Please check with specific vendors for information on patching status. For more information, please see: https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g
- https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
- https://nvd.nist.gov/vuln/detail/CVE-2026-42271
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| litellmlitellm | 1.74.2 | ≤ | 취약 | < | 1.83.7 | 1.83.7이상 |
| openshift_airedhat | 2.25 | ≤ | 취약 | < | 2.25.8 | 2.25.8이상 |
| 3.3 | ≤ | 취약 | < | 3.3.4 | 3.3.4이상 | |
| 이 버전만 | 취약 | = | 3.4 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 1줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| litellmBerriAI | 이 버전만 | 취약 | = | >= 1.74.2, < 1.83.7 | 벤더 공지 확인 | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.