LightLLM through 1.2.0 visual_only deployments expose an unauthenticated RPyC service with allow_pickle enabled that deserializes attacker-supplied arguments in the remote_infer_images method. Attackers can reach the visual RPyC port and pass objects with reduce methods to execute arbitrary code with service account privileges.
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.