🔍 CVE-2026-42208

9.8
CVSS Score
CRITICAL
2026-05-08
2026-07-15 02:21
✅ 완료

🇰🇷 한글 설명

LiteLLM 프록시 서버의 API 키 확인 과정에서 데이터베이스 쿼리에 사용자 입력값이 직접 포함되는 SQL 인젝션 취약점이 발견되었습니다. 인증되지 않은 공격자가 특수하게 조작된 Authorization 헤더를 전송하여 데이터베이스의 데이터를 읽거나 수정할 수 있으며, 이는 관리자 권한 탈취 및 자격 증명 유출로 이어질 수 있습니다.

💡 쉬운 설명

해커가 가짜 암호를 보내서 서버의 데이터베이스를 마음대로 조작할 수 있는 보안 구멍이 발견되었습니다. 이를 통해 서버에 저장된 중요한 비밀번호나 정보를 훔쳐갈 위험이 있습니다.

🇺🇸 원문 (English)

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.81.16 to before version 1.83.7, a database query used during proxy API key checks mixed the caller-supplied key value into the query text instead of passing it as a separate parameter. An unauthenticated attacker could send a specially crafted Authorization header to any LLM API route (for example POST /chat/completions) and reach this query through the proxy's error-handling path. An attacker could read data from the proxy's database and may be able to modify it, leading to unauthorised access to the proxy and the credentials it manages. This issue has been patched in version 1.83.7.

📍 영향받는 시스템

LiteLLM version 1.81.16 to before 1.83.7

⚔️ 공격 벡터

인증되지 않은 공격자가 조작된 Authorization 헤더를 포함하여 LLM API 경로로 요청을 전송

🛡️ 대응 방법

LiteLLM 버전을 1.83.7 이상으로 업데이트

🔧 검증 코드

출력된 버전이 1.83.7 미만인 경우 취약한 상태이므로 즉시 업데이트가 필요합니다.

Shell / Script
pip show litellm | grep Version

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

litellm