> CVE-2026-61539 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2026-08-21 21:17
MODIFIED
2026-08-21 21:17
CVSS_SCORE V3
10.0
EPSS (Prob. Exploit)
1.23%
Top 31.7%
DATA SOURCES:
NVD đź”— 2026-08-21 CWE MITRE đź”— 2026-09-01 FIRST EPSS đź”— 2026-10-18 OSV đź”— 2026-10-26

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EXPLOITABILITY
3.9
IMPACT
6.0

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-95

> CWE DETAILED DESCRIPTIONS

CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') - The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Xinference: Remote code execution via unsafe `eval()` in Llama3 tool-call parsing

AFFECTED PACKAGES:
Unknown / Unknown
133 versions affected
ALIASES:
GHSA-x2rj-828p-hx9m, PYSEC-2026-3946

> HISTORIQUE DES MODIFICATIONS

Première apparition
21/08/2026 21:17
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') - The product receives input from an upstream component, but it does not neutralize or incorrectly neutra...
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://github.com/xorbitsai/inference/commit/1b3d220f342ce68d34cec4586d9409d457...
https://github.com/xorbitsai/inference/pull/4786
https://github.com/xorbitsai/inference/releases/tag/v2.7.0
https://github.com/xorbitsai/inference/security/advisories/GHSA-x2rj-828p-hx9m
« BACK_TO_HOME