CVE-2026-40217
HIGH 실제 악용 (KEV) ASEC 언급 2건
- 우선순위
- 15.79
- CVSS 3.1
- 8.8
- EPSS
- 83.1%
- 공개일
- 2026-04-10
설명 NVD 원문
LiteLLM 2026-04-08 버전까지 원격 공격자가 /guardrails/test_custom_code URI에서 바이트코드 재작성(bytecode rewriting)을 통해 임의의 코드를 실행할 수 있다.
Claude 로 기계 번역한 글입니다. 정확한 내용은 영어 원문을 확인하세요.
영어 원문
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
조치 방법 11행
Red Hat 조치 11행
| 출처 | 플랫폼·제품 | 방식 | 패키지 | 수정 버전 | 권고 | 내용 |
|---|---|---|---|---|---|---|
| Red Hat | Exploit Intelligence | none | exploit-intelligence/vulnerability-analysis-rhel9 | 원문 | Red Hat 상태: Not affected | |
| Red Hat | Lightspeed Core | none | lightspeed-core/lightspeed-stack-rhel9 | 원문 | Red Hat 상태: Not affected | |
| Red Hat | Red Hat (공통) | mitigation | 원문 | Mitigation for this issue is either not available or the currently available options do not meet the…Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. |
||
| Red Hat | Red Hat Ansible Automation Platform 2 | none | ansible-automation-platform-27/lightspeed-chatbot-rhel9 | 원문 | Red Hat 상태: Not affected | |
| Red Hat | Red Hat Ansible Automation Platform 2 | none | redhat-user-workloads/lightspeed-chatbot-rhel9 | 원문 | Red Hat 상태: Not affected | |
| Red Hat | Red Hat Ansible Automation Platform 2.6 | patch | ansible-automation-platform-26/lightspeed-chatbot-rhel9:1780102732 | RHSA-2026:24866 | ||
| Red Hat | Red Hat OpenShift AI (RHOAI) | none | rhoai/odh-mlflow-rhel9 | 원문 | Red Hat 상태: Not affected | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | none | rhoai/odh-th-torch-cpu-py312-rhel9 | 원문 | Red Hat 상태: Not affected | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | none | rhoai/odh-th-torch-cuda-py312-rhel9 | 원문 | Red Hat 상태: Not affected | |
| Red Hat | Red Hat OpenShift AI (RHOAI) | none | rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9 | 원문 | Red Hat 상태: Not affected | |
| Red Hat | Red Hat OpenShift AI 3.3 | patch | rhoai/odh-llama-stack-core-rhel9:1782310008 | RHSA-2026:30056 |
CISA 조치 권고
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
살펴볼 장비 초안
공격 대상: 서버·웹 서비스. '이 장비에서 살펴볼 취약점' 이라는 분류이며, 장비가 탐지한다는 확인이 아닙니다.
| 장비 보기 | 정도 | 분류 이유 |
|---|---|---|
| 네트워크 통신 (IPS·NDR) | 주 | 사용자 행동 없이 네트워크로 코드·명령 실행 |
| 서버 행위 (EDR·감사 로그) | 주 | 성공하면 프로세스·파일 행위가 남을 수 있는 실행 유형 |
| 웹 요청 (WAF·웹 로그) | 보조 | 웹 요청으로 들어오는 공격 (웹 공격 유형은 아니어서 웹 로그 확인용) |
단계별 판정 예시 환경
시나리오 미작성 — 이 CVE 는 단계별 판정을 하지 않았습니다. 안전하다는 뜻이 아닙니다.
출처별 내용 3건
CISA KEV BerriAI LiteLLM Unprotected Alternate Channel Vulnerability 2026-11-18
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
ASEC LiteLLM 보안 업데이트 권고 (CVE-2026-40217) 2026-11-25
개요 LiteLLM에서 발생하는 취약점을 해결하는 보안 업데이트가 발표되었다. 해당 제품 사용자는 최신 버전으로 업데이트해야 한다. 영향받는 제품 LiteLLM 버전 1.81.8 이상 1.83.10 미만. 해결된 취약점 CVE-2026-40217. LiteLLM의 사용자 정의 코드 테스트 API(/guardrails/test custom code)에서 발생한 샌드박스 탈출 취약점(격리된 실행 환경을 벗어나는 취약점)이다. 대응 최신 업데이트를 통해 취약점 패치가 제공되었다. 참고사이트의 안내에 따라 LiteLLM 버전을 1.83.10 이상으로 업데이트해야 한다. 참고 [1] Guardrail Sandbox Escape in LiteLLM. [2] Sandbox escape in custom-code guardrail. [3] v1.83.10-stable.
ASEC 영어·일본어 등 다른 언어 글 1건
ASEC LiteLLM Security Update Advisory (CVE-2026-40217) 2026-11-25
Overview A security update addressing vulnerabilities in LiteLLM has been released. Users of this product should update to the latest version. Affected Products LiteLLM version 1.81.8 or later, but earlier than 1.83.10. Resolved Vulnerabilities CVE-2026-40217. – This is a sandbox escape vulnerability (a vulnerability that allows an attacker to escape the isolated execution environment) in LiteLLM’s custom code testing API (/guardrails/test custom code). Response The latest update includes the Vulnerability Patch. – Follow the instructions on the reference site to update LiteLLM to version 1.83.10 or later. Note [1] Guardrail Sandbox Escape in LiteLLM. [2] Sandbox escape in custom-code guardrail. [3] v1.83.10-stable.
자동 추천 장비와 근거 참고용
분류 체계(CWE → CAPEC → ATT&CK) 매핑으로 계산한 후보입니다. 범위가 넓어 관련이 적은 장비가 섞입니다. 해당 장비가 이 공격을 탐지한다고 확인한 것은 아니며, 위의 '살펴볼 장비' 와 단계별 판정에는 쓰지 않습니다.
| 장비 | 방법 | 근거 경로 |
|---|---|---|
| 서버 접근제어 ACCESS | attack | CWE-94 > CAPEC-35 > T1564.009 > Command Execution |
| 엔드포인트 탐지·대응 EDR | attack | CWE-94 > CAPEC-35 > T1027.006 > File Creation |
| 침입방지시스템 IPS | attack | CWE-94 > CAPEC-35 > T1027.006 > Network Traffic Content |
| 네트워크 탐지·대응 / 패킷 분석 NDR | attack | CWE-94 > CAPEC-35 > T1027.006 > Network Traffic Content |
| 서버 감사 로그 SYSAUDIT | attack | CWE-94 > CAPEC-35 > T1027.006 > File Creation |
| 웹 방화벽 WAF | attack | CWE-94 > CAPEC-35 > T1027.006 > Network Traffic Content |
약점 분류
- CWE-94 Improper Control of Generation of Code
- CWE-420 Unprotected Alternate Channel
영향 제품 (CPE) 4건
| 제조사 | 제품 | 버전 범위 | CPE |
|---|---|---|---|
| litellm | litellm | 1.81.8 이상 1.83.10 미만 | cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* |
| redhat | ansible_automation_platform | 2.0 이상 2.6-9 미만 | cpe:2.3:a:redhat:ansible_automation_platform:*:*:*:*:*:*:*:* |
| redhat | openshift_ai | 3.3 이상 3.3.4 미만 | cpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:* |
| redhat | openshift_lightspeed | cpe:2.3:a:redhat:openshift_lightspeed:-:*:*:*:*:*:*:* |
참고 링크 7건
- https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/ Exploit,Mitigation,Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:24866 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:30056 Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2026-40217 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2457301 Third Party Advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217 US Government Resource