{"id":"CVE-2026-61539","sourceIdentifier":"security-advisories@github.com","published":"2026-08-21T21:17:00.867","lastModified":"2026-10-12T16:10:00.220","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"Xinference is an inference API for running open-source, speech, and multimodal models. In 2.5.0 and earlier, Xinference passes attacker-influenced Llama3 tool-call output to eval() in xinference/model/llm/tool_parsers/llama3_tool_parser.py and xinference/model/llm/utils.py. Requests to /v1/chat/completions with a tools field flow through xinference/api/restful_api.py, xinference/model/llm/transformers/core.py, handle_chat_result_non_streaming(), and _post_process_completion() before extract_tool_calls() or _eval_llama3_chat_arguments() evaluates the model-generated Python expression. An unauthenticated remote attacker can influence that output through a crafted prompt and execute commands in the Xinference server process context. This issue is fixed in version 2.7.0."},{"lang":"es","value":"Xinference es una API de inferencia para ejecutar modelos de código abierto, de voz y multimodales. En las versiones 2.5.0 y anteriores, Xinference pasa la salida de llamadas a herramientas de Llama3 influenciada por el atacante a eval() en xinference/model/llm/tool_parsers/llama3_tool_parser.py y xinference/model/llm/utils.py. Las solicitudes a /v1/chat/completions con un campo 'tools' fluyen a través de xinference/api/restful_api.py, xinference/model/llm/transformers/core.py, handle_chat_result_non_streaming() y _post_process_completion() antes de que extract_tool_calls() o _eval_llama3_chat_arguments() evalúen la expresión Python generada por el modelo. Un atacante remoto no autenticado puede influenciar esa salida a través de un prompt manipulado y ejecutar comandos en el contexto del proceso del servidor de Xinference. Este problema se ha solucionado en la versión 2.7.0."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"xorbitsai","product":"inference","versions":[{"version":"< 2.7.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","baseScore":10.0,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":6.0}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-08-24T19:45:03.839039Z","id":"CVE-2026-61539","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-95"}]}],"references":[{"url":"https://github.com/xorbitsai/inference/commit/1b3d220f342ce68d34cec4586d9409d457dadc42","source":"security-advisories@github.com"},{"url":"https://github.com/xorbitsai/inference/pull/4786","source":"security-advisories@github.com"},{"url":"https://github.com/xorbitsai/inference/releases/tag/v2.7.0","source":"security-advisories@github.com"},{"url":"https://github.com/xorbitsai/inference/security/advisories/GHSA-x2rj-828p-hx9m","source":"security-advisories@github.com"}]}