xinference: known vulnerabilities and the safe version
The version to be on
Version 2.7.0 or later fixes every vulnerability on this page that has a recorded fix.
Upgrade xinference with pip
pip install --upgrade "xinference>=2.7.0"
pip show xinference | grep VersionPin it in requirements.txt
xinference>=2.7.0Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.
Watch xinference
Get an email only when xinference has a new vulnerability record. Unsubscribe with one click.
Badge for your README
Shows the number of known critical and high vulnerabilities in xinference and the version that fixes them. It updates by itself.
Markdown
[](https://securityelites.com/ai-vulnerabilities/package/xinference/)All records
- Xinference vulnerable to remote code execution via unsafe `eval()` in Llama3 tool-call parsingUnknown · CVE-2026-61539 · fixed in 2.7.0 · 22 Aug 2026
- Malicious code in xinference (PyPI)Unknown · MAL-2026-3000 · no fix recorded · 23 Apr 2026