CVE Hunter
›
CVE-2026-76841

CWE-94

HIGH CVSS 8.8 NVD

Xinference loads models with Hugging Face remote code execution unconditionally enabled, and before version 2.12.0 exposes no setting to disable it. Six loader call sites pass trust_remote_code=True as a literal or as an unconditional default: RerankModel._get_tokenizer in xinference/model/rerank/core.py, SentenceTransformerRerankModel.load in xinference/model/rerank/sentence_transformers/core.py, SentenceTransformerEmbeddingModel.load in xinference/model/embedding/sentence_transformers/core.py, FlagEmbeddingModel.load in xinference/model/embedding/flag/core.py, and two sites in xinference/model/llm/transformers/core.py where PytorchModel._sanitize_model_config and PytorchModel._get_components default the value to True. Because a caller with model launch access can register a model whose type is unknown and supply an arbitrary model path, the server reaches _auto_detect_type and then AutoTokenizer.from_pretrained, which imports and executes Python declared by the model directory's own tokenizer_config.json auto_map, running attacker-supplied code with the privileges of the worker process. Version 2.12.0 gates every site behind allow_trust_remote_code and the XINFERENCE_TRUST_REMOTE_CODE setting, permitting remote code only for bundled built-in models.

Yayınlanma 24.08.2026
ISO Tarih 2026-08-24
CVSS Sürüm v3.1
Kaynak NVD
CVSS v3.1 Metrikleri
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Güvenlik Analizi
🤖 Yapay Zeka Güvenlik Analizi Hazırlanıyor…
CVSS vektörü ve CWE zayıflık yapısı inceleniyor…
Hedef Keşif Sorguları
CVSS Skoru
8.8 / 10 · CVSS HIGH
Zayıflık Türleri (CWE)
CWE-94
İlgili CVE'ler
9.8
CVE-2026-130674
Craft CMS from 5.0.0 before 5.11.4 contains an incomplete blocklist fix that allows attackers who can author e
9.8
CVE-2026-129892
IO::Socket::SSL::PublicSuffix versions through 2.099 for Perl allow code injection via a fetched list line tha
9.6
CVE-2026-130682
SiYuan before 3.8.10 persists a table block's caption attribute into IAL properties without HTML sanitization,
8.8
CVE-2026-130736
Grav from 2.0.0 before 2.2.18 contains a remote code execution vulnerability that allows publishers to bypass
8.8
CVE-2026-130709
NocoDB before 2026.09.0 contains a server-side template injection vulnerability that allows authenticated Crea
8.8
CVE-2026-130692
NocoDB before 2026.10.1 contains a template injection vulnerability that allows authenticated Creator-role use