CVE-2026-7669
Last modified
CVE-2026-7669 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-7669?
How severe is CVE-2026-7669?
How do I fix CVE-2026-7669?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-76684Vulnerabilities have been identified in the API of HPE Netwo…8.1
- CVE-2026-76685A vulnerability exists in the proxy packet processing logic …8.1
- CVE-2026-76686A vulnerability exists in the underlying operating system of…7.5
- CVE-2026-76687A vulnerability in the API endpoint of HPE Networking EdgeCo…7.5
- CVE-2026-76688Vulnerabilities have been identified in the web-based manage…7.5
- CVE-2026-76689A vulnerability exists in the configuration processing logic…7.2
- CVE-2026-76690A vulnerability exists in a component of the HPE Networking …7.2
- CVE-2026-76691Buffer overflow vulnerabilities exist in the API endpoint of…7.2
- CVE-2026-76692A vulnerability in HPE Networking EdgeConnect SD-WAN Gateway…7.1
- CVE-2026-76693A vulnerability in HPE Networking EdgeConnect SD-WAN Gateway…7
- CVE-2026-76694A privilege escalation vulnerability exists in the command l…6.6
- CVE-2026-76695Buffer overflow vulnerabilities exist in the underlying oper…6.5
Are you affected by CVE-2026-7669?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
