Read the docs
TI-2026-06751 Aliases CVE-2026-7669GHSA-6m5f-673f-5vh7

sgl-project SGLang HuggingFace Transformer hf_transformers_utils.py get_tokenizer code injection

Priority MEDIUM 61CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

A vulnerability was detected in sgl-project SGLang up to 0.5.9. Impacted is the function get_tokenizer of the file python/sglang/srt/utils/hf_transformers_utils.py of the component HuggingFace Transformer Handler. The manipulation of the argument trust_remote_code with the input False as part of Boolean results in code injection. The attack can be executed remotely. A high complexity level is associated with this attack. The exploitability is considered difficult. In get_tokenizer(), when the caller passes trust_remote_code=False and HuggingFace transformers v5 returns a TokenizersBackend instance (the generic fallback for tokenizer classes not in the registry), SGLang silently re-invokes AutoTokenizer.from_pretrained with trust_remote_code=True, overriding the caller's explicit security setting. A model repository containing a malicious tokenizer.py referenced via auto_map in tokenizer_config.json will execute arbitrary Python in the SGLang process during this second call. No log line or warning is emitted. The override affects all current SGLang versions because transformers==5.3.0 is pinned in pyproject.toml. Both tokenizer_mode="auto" and tokenizer_mode="slow" are affected. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00368 30th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
sgl-projectSGLang0.5.0; 0.5.1; 0.5.2; 0.5.3; 0.5.4; 0.5.5; 0.5.6; 0.5.7; 0.5.8; 0.5.9—No fix listedCNA
—sglang (PyPI)up to 0.5.9—No fix listedGHSA-6m5f-673f-5vh7
  • SGLang Vendorsgl-project Affected 0.5.0; 0.5.1; 0.5.2; 0.5.3; 0.5.4; 0.5.5; 0.5.6; 0.5.7; 0.5.8; 0.5.9 Fixed in — No fix listed CNA
  • sglang (PyPI) Vendor— Affected up to 0.5.9 Fixed in — No fix listed GHSA-6m5f-673f-5vh7

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-7669
  2. 2026-10-03 Alias added: GHSA-6m5f-673f-5vh7

References

  • TI-2026-76247 Denial of service in SGLang expert-distribution recording endpoint CVSS 4.0HIGH 8.7
  • TI-2026-70996 SGLang disables decompression bomb check, enabling denial of service CVSS 4.0HIGH 8.7
  • TI-2026-70994 SGLang Memory Exhaustion DoS via Qwen-VL Video Preprocessing CVSS 4.0HIGH 8.7
  • TI-2026-70993 Decompression amplification in SGLang load_audio exhausts memory CVSS 4.0HIGH 8.7
  • TI-2026-65453 SGLang through 0.5.20 Denial of Service via Duplicate bootstrap_room CVSS 4.0HIGH 8.7
  • TI-2026-75290 Code injection in SGLang debug dumper filter CVSS 4.0CRITICAL 9.2
See all 21 →

Sources