CVE-2026-61539: CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in xorbitsai inference
Description
CVE-2026-61539 is a critical remote code execution vulnerability in xorbitsai inference API versions 2.5.0 and earlier. The vulnerability arises from improper neutralization of directives in dynamically evaluated code (eval injection) where attacker-controlled input is passed to Python's eval() function. An unauthenticated attacker can exploit this by crafting malicious prompts to execute arbitrary commands on the Xinference server. The issue is fixed in version 2.7.0.
CVSS v3.1
Score 10.0critical
Affected software
xorbitsai
inference
pkg:github/xorbitsai/inferenceRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Xinference inference API versions 2.5.0 and earlier contain an eval injection vulnerability (CWE-95) due to passing attacker-influenced Llama3 tool-call output to eval() in specific Python modules. Requests to the /v1/chat/completions endpoint with a tools field are processed through multiple components before the model-generated Python expression is evaluated unsafely. This allows an unauthenticated remote attacker to execute arbitrary commands on the server running Xinference. The vulnerability is addressed in version 2.7.0.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary code with the privileges of the Xinference server process, leading to full compromise of confidentiality, integrity, and availability of the affected system. The CVSS v3.1 base score is 10.0 (critical), reflecting network attack vector, no required privileges or user interaction, and complete impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade Xinference to version 2.7.0 or later where this vulnerability is fixed. No other mitigations are specified. Patch status is confirmed fixed in 2.7.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-10T16:27:03.093Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a88baa8acd9273b49b84378
Added to database: 08/21/2026, 20:52:56 UTC
Last enriched: 09/10/2026, 17:06:15 UTC
Last updated: 10/05/2026, 18:48:21 UTC
Views: 168
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.