llamaCVEVulnerability Intelligence
/
SGLang

CVE-2026-7669

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

Parche disponiblecode injection
Descargar PNG JSON
CVSS 4.0
6.3
Media
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 Fuente: CNA
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos11 fuente
Parche1 versiónPrimer parche a -27 d de la divulgación
Exposición202 dDesde la divulgación, 2 may 2026, 5:00 p. m.
Detección198 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 0.5.10
Monitoreo
Detectada
5 abr 26
2 may 26
5 may 26
17 nov 26
21 nov 26
5 abr 26
2 jun 26
29 jul 26
24 sept 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 0.5.10 sglang · -27 d desde divulgación
Divulgación Publicada CVE-2026-7669 divulgada · CVSS 6.3 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

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.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:L
AltoBajoNinguno
Integridad (sistema)VI:L
AltoBajoNinguno
Disponib. (sistema)VA:L
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
9.1/ 10Muy alto
Vector 7.1 (fácil) · +2.0 por PoC pública.
Versiones

Rangos afectados

Afectada Corregida Última
sglang≤ 0.5.9
0.5.9
0.5.23
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypisglang
Corregida 0.5.10 -27 d 0.5.23 no afectada
Versiones corregidas0.5.10
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
gouldnicholas/CVE-2026-7669-PoC
1
Ver los 1 repositorios de GitHub
gouldnicholas/CVE-2026-7669-PoC

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Exploithttps://vuldb.com/vuln/360817
Exploithttps://github.com/gouldnicholas/CVE-2026-7669-PoC
Exploithttps://github.com/gouldnicholas/CVE-2026-7669-PoC
Otrahttps://vuldb.com/vuln/360817/cti
Otrahttps://vuldb.com/submit/799263

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.