← Terug naar overzicht

CVE-2026-61539 affects Xinference versions 2.5.0 and earlier, an inference API for open-source and multimodal models. The vulnerability arises from passing attacker-influenced Llama3 tool-call output directly to Python's eval() function in llama3_tool_parser.py and utils.py. Requests to the /v1/chat/completions endpoint with a tools field traverse multiple processing layers before the unsafe eval() call is made. An unauthenticated remote attacker can craft a malicious prompt to influence the model-generated Python expression passed to eval(). This allows arbitrary command execution within the Xinference server process context, representing a critical remote code execution risk. No authentication is required to exploit this vulnerability, significantly broadening the attack surface. The flaw was fixed in Xinference version 2.7.0 via a patch committed to the xorbitsai/inference GitHub repository.

Affected products

  • Xinference 2.5.0 and earlier

Related CVE's

  • CVE-2026-61539

Categories

  • Emerging Technologies
  • Web Technologies
  • Zero-Day Vulnerabilities