llamaCVEVulnerability Intelligence
/
BentoML

CVE-2025-27520

BentoML remote code execution via unsafe deserialization

An unauthenticated attacker on the network can run arbitrary code on the server by sending crafted data.

Crítica · EPSS ≥ 10 %UnclearParche disponible
Descargar PNG JSON
CVSS 3.1
9.8
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónExploit públicoSSVC: PoC · no figura en CISA KEV
Exploits públicos42 fuentes
Parche1 versiónPrimer parche a -29 d de la divulgación
Exposición595 dDesde la divulgación, 4 abr 2025, 9:28 a. m.
EPSS ≥ 10 %2 nov 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Exploit público disponible (4), automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Umbral EPSS
Remediación
Parche 1.4.3
Monitoreo
Detectada
Verificada
6 mar 25
4 abr 25
2 nov 26
3 nov 26
18 nov 26
21 nov 26
6 mar 25
9 ago 25
12 ene 26
18 jun 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 1.4.3 bentoml · -29 d desde divulgación
Divulgación Publicada CVE-2025-27520 divulgada · CVSS 9.8 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 18 nov 2026

BentoML, a Python library for building AI model serving systems, has a remote code execution flaw caused by insecure deserialization. An unauthenticated attacker can reach it over the network and run arbitrary code on the server, and public exploit code, including a Metasploit module, is available.

BentoML versions 1.3.4 up to 1.4.3 are affected when requests use the application/vnd.bentoml+pickle Content-Type, which sends them down the pickle deserialization path. Fixed in 1.4.3.

¿Qué significa?The server deserializes pickle data from requests that carry the application/vnd.bentoml+pickle Content-Type, and an unauthenticated user can use this to run arbitrary code on the server.
¿Quién está afectado?Versions from 1.3.4 up to but not including 1.4.3 are affected. To check a installed version, look at the BentoML version reported by pip show bentoml, and note that the pickle path is only reached when that Content-Type header is used.
¿Qué hacer?Upgrade BentoML to 1.4.3 or later, which is the fixed version listed for this range.
Descripción original del registro

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. A Remote Code Execution (RCE) vulnerability caused by insecure deserialization has been identified in the latest version (v1.4.2) of BentoML. It allows any unauthenticated user to execute arbitrary code on the server. It exists an unsafe code segment in serde.py. This vulnerability is fixed in 1.4.3.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affected BentoML versions are >=1.3.4 and <1.4.3.“Affected versions >=1.3.4,<1.4.3”
02
The request must use the Content-Type application/vnd.bentoml+pickle so the server takes the pickle deserialization path.“headers = { 'Content-Type' : 'application/vnd.bentoml+pickle' }”
¿Quién debe revisar?Teams running BentoML services (bentoml pip package) version 1.3.4 up to 1.4.2 that serve HTTP endpoints.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
BentoML · bentoml≥ 1.3.4 < 1.4.3
1.3.4
1.4.3
1.4.40
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypibentoml
Corregida 1.4.3 -29 d 1.4.40 no afectada
Versiones corregidas1.4.3
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
modules/exploits/linux/http/bentoml_rce_cve_2025_27520.rb
1
Nuclei
—
0
PoC en GitHub
Evillm/CVE-2025-27520-PoC · amalpvatayam67/day09-bentoml-deser-lab · electricsheep08/CVE-2025-27520
3
Ver los 3 repositorios de GitHub
Evillm/CVE-2025-27520-PoC
amalpvatayam67/day09-bentoml-deser-lab
electricsheep08/CVE-2025-27520

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
Fabricantehttps://github.com/bentoml/BentoML/security/advisories/GHSA-33xw-247w-6hmc
Exploithttps://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/bentoml_rce_cve_2025_27520.rb
Exploithttps://github.com/Evillm/CVE-2025-27520-PoC
Exploithttps://github.com/amalpvatayam67/day09-bentoml-deser-lab
Exploithttps://github.com/electricsheep08/CVE-2025-27520
Otrahttps://github.com/bentoml/BentoML/commit/b35f4f4fcc53a8c3fe8ed9c18a013fe0a728e194

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