Skip to main content
EPSS 1.2%top 32%

CVE-2026-61539: CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in xorbitsai inference

0
Critical
Published: 08/21/2026 (08/21/2026, 20:37:02 UTC)
Source: CVE Database V5
Vendor/Project: xorbitsai
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected software

xorbitsai

inference

Affected versions
<2.7.0
GitHub Actionsmore threats →ai
xorbitsai/inference
pkg:github/xorbitsai/inference
Affected versions
<=2.5.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 17:06:15 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses