{"data":{"id":"deb69f2d-5c9d-4e97-898e-11de8fd46a69","title":"GHSA-x2rj-828p-hx9m: Xinference vulnerable to remote code execution via unsafe `eval()` in Llama3 tool-call parsing","summary":"Xinference used Python's eval() to parse Llama3 tool-call output in the extract_tool_calls() function of xinference/model/llm/tool_parsers/llama3_tool_parser.py. A remote, unauthenticated attacker can use prompts sent to the /v1/chat/completions endpoint to make the model return a Python expression, which the server evaluates. The flaw is rated Critical, CVSS 10.0, and allows remote code execution in the Xinference server process in the tested default deployment.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-x2rj-828p-hx9m","publishedAt":"2026-08-21T20:56:37.000Z","cveId":"CVE-2026-61539","cweIds":null,"cvssScore":null,"cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["xinference@<= 2.5.0 (fixed: 2.7.0)"],"affectedPackageNames":["xinference"],"affectedPackageRefs":["pypi:xinference"],"affectedVendors":[],"affectedVendorsRaw":["Xinference","Llama3"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.01226,"epssCheckedAt":"2026-11-22T06:08:37.544Z","kevDateAdded":null,"advisoryAliases":["GHSA-x2rj-828p-hx9m"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-08-21T20:56:37.000Z","fixReleasedAt":"2026-04-25T07:22:43.014Z","daysToFix":-118,"fixCheckedAt":"2026-10-29T21:31:28.231Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"inference","llmSpecific":true,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"xinference","fixedVersion":"2.7.0","matchedVersion":"2.7.0","fixReleasedAt":"2026-04-25T07:22:43.014Z","daysToFix":-118,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:31:28.084Z"}]}}