CVE-2026-35029 LiteLLM affected by privilege escalation via unrestricted proxy configuration endpoint
무제한 프록시 구성 엔드포인트를 통한 권한 에스컬레이션의 영향을 받는 LiteLLM
설명
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.83.0, the /config/update endpoint does not enforce admin role authorization. A user who is already authenticated into the platform can then use this endpoint to modify proxy configuration and environment variables, register custom pass-through endpoint handlers pointing to attacker-controlled Python code, achieving remote code execution, read arbitrary server files by setting UI_LOGO_PATH and fetching via /get_image, and take over other privileged accounts by overwriting UI_USERNAME and UI_PASSWORD environment variables. Fixed in v1.83.0.
LiteLLM은 OpenAI (또는 네이티브) 형식으로 LLM API를 호출하는 프록시 서버 (AI 게이트웨이)입니다. 1.83.0 이전 버전에서는 /config/update 엔드포인트가 관리자 역할 권한을 강제하지 않습니다. 그런 다음 플랫폼에서 이미 인증한 사용자는 이 엔드포인트를 사용하여 프록시 구성 및 환경 변수를 수정하고, 공격자가 제어하는 Python 코드를 가리키는 사용자 지정 패스 스루 엔드포인트 핸들러를 등록하고, 원격 코드 실행을 달성하고, UI_LOGO_PATH 및 /get_image를 통해 임의 서버 파일을 읽고, UI_USERNAME 및 UI_PASSWORD 환경 변수를 덮어쓰면 다른 특권 계정을 인수할 수 있습니다. v1.83.0에서 수정되었습니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
BerriAI
litellm
영향 받는 버전
- 1.83.0 미만
해결 버전
- 1.83.0 이상