Description
LightLLM through 1.2.0 contains a remote code execution vulnerability in the router profiler service when started with --enable_profiling flag. The service exposes an unauthenticated RPyC server with pickle deserialization enabled, allowing attackers to execute arbitrary code by sending crafted serialized objects to the profiler command queue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ModelTC | LightLLM | ≤ 1.2.0 | — |
References
- GitHub Issue #1597 issue-tracking
- https://github.com/ModelTC/lightllm/blob/v1.2.0/lightllm/server/router/profiler_service.py#L32-L34 technical-description
- https://github.com/ModelTC/lightllm/blob/v1.2.0/lightllm/server/router/profiler_service.py#L46-L50 technical-description
- https://github.com/ModelTC/LightLLM product
- VulnCheck Advisory: LightLLM through 1.2.0 Unauthenticated Remote Code Execution via Router Profiler RPyC Service third-party-advisory