Home
Home
Trends
Trends
Vulnerabilities
Vulnerabilities
News
News
Researchers
Researchers
Why dbugs?
Why dbugs?
Settings

Ngould

#51492of 60,753
5.6Total CVSS
Vulnerabilities · 1
PT-2026-36639
2026-05-02
5.6
CVE-2026-7669
Sgl
Sglang
A code injection issue exists in the HuggingFace Transformer Handler within the `get tokenizer()` function of the `python/sglang/srt/utils/hf transformers utils.py` file. When a caller sets the `trust remote code` variable to `False`, SGLang may silently re-invoke `AutoTokenizer.from pretrained` with `trust remote code` set to `True` if HuggingFace transformers v5 returns a TokenizersBackend instance. This overrides the security setting and allows a model repository containing a malicious `tokenizer.py` referenced via `auto map` in `tokenizer config.json` to execute arbitrary Python code in the SGLang process. This affects both `tokenizer mode="auto"` and `tokenizer mode="slow"`. The attack can be executed remotely, although it is characterized by high complexity and difficult exploitability.