Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2026-7669
PUBLISHED
More InfoOfficial Page
Assigner-VulDB
Assigner Org ID-1af790b2-7ee1-4545-860a-a788eba489b5
View Known Exploited Vulnerability (KEV) details
Published At-02 May, 2026 | 22:00
Updated At-05 May, 2026 | 00:31
Rejected At-
▼CVE Numbering Authority (CNA)
sgl-project SGLang HuggingFace Transformer hf_transformers_utils.py get_tokenizer code injection

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.

Affected Products
Vendor
sgl-project
Product
SGLang
Modules
  • HuggingFace Transformer Handler
Versions
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
Problem Types
TypeCWE IDDescription
CWECWE-94Code Injection
CWECWE-74Injection
Type: CWE
CWE ID: CWE-94
Description: Code Injection
Type: CWE
CWE ID: CWE-74
Description: Injection
Metrics
VersionBase scoreBase severityVector
4.06.3MEDIUM
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X
3.15.6MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
3.05.6MEDIUM
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
2.05.1N/A
AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR
Version: 4.0
Base score: 6.3
Base severity: MEDIUM
Vector:
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X
Version: 3.1
Base score: 5.6
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
Version: 3.0
Base score: 5.6
Base severity: MEDIUM
Vector:
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
Version: 2.0
Base score: 5.1
Base severity: N/A
Vector:
AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

finder
Nicholas Gould
finder
David Rochester
reporter
ngould (VulDB User)
analyst
ngould (VulDB User)
coordinator
VulDB CNA Team
Timeline
EventDate
Vulnerability found2026-04-07 02:00:00
Vendor informed2026-04-07 02:00:00
Advisory disclosed2026-05-02 00:00:00
VulDB entry created2026-05-02 02:00:00
Exploit disclosed2026-05-03 02:00:00
VulDB entry last update2026-05-04 06:26:28
Event: Vulnerability found
Date: 2026-04-07 02:00:00
Event: Vendor informed
Date: 2026-04-07 02:00:00
Event: Advisory disclosed
Date: 2026-05-02 00:00:00
Event: VulDB entry created
Date: 2026-05-02 02:00:00
Event: Exploit disclosed
Date: 2026-05-03 02:00:00
Event: VulDB entry last update
Date: 2026-05-04 06:26:28
Replaced By

Rejected Reason

References
HyperlinkResource
https://vuldb.com/vuln/360817
vdb-entry
technical-description
exploit
https://vuldb.com/vuln/360817/cti
signature
permissions-required
https://vuldb.com/submit/799263
third-party-advisory
https://github.com/gouldnicholas/CVE-2026-7669-PoC
exploit
Hyperlink: https://vuldb.com/vuln/360817
Resource:
vdb-entry
technical-description
exploit
Hyperlink: https://vuldb.com/vuln/360817/cti
Resource:
signature
permissions-required
Hyperlink: https://vuldb.com/submit/799263
Resource:
third-party-advisory
Hyperlink: https://github.com/gouldnicholas/CVE-2026-7669-PoC
Resource:
exploit
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Details not found