← Vulnerability feed

Vulnerability record · CVE-2025-27520 · published 4 April 2025

CVE-2025-27520: Bentoml deserialization of untrusted data vulnerability

Bentoml · Bentoml

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.

9.8 CVSS 3.1 Critical EPSS 41% · top 1.4% CWE-502 · Deserialization of untrusted data
9.8CVSS 3.1 base score
41%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-27520 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.9CVE-2025-54381Bentoml server-side request forgery (ssrf) vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. In versions 1.4.0 until 1.4.19, the file u…EPSS 15%9.8CVE-2025-32375BentoML runner server insecure deserialization enables unauthenticated RCEBentoML before 1.4.8 deserializes untrusted data in its runner server. By sending a crafted POST request with specific headers and parameters, an att…EPSS 52%analysed9.6CVE-2026-35044Bentoml vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.38, the Dockerfile generation…EPSS 0.48%8.8CVE-2026-44345Bentoml os command injection vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.39, src/bentoml/_internal/con…EPSS 0.48%8.8CVE-2026-44346Bentoml os command injection vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.39, a malicious bentofile.yam…EPSS 0.48%8.6CVE-2026-27905Bentoml link following vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.36, the safe_extract_tarfile(…EPSS 0.21%7.8CVE-2026-35043Bentoml os command injection vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.38, the cloud deployment path…EPSS 0.26%7.8CVE-2026-33744Bentoml code injection vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.37, the `docker.system_packag…EPSS 0.25%

Source: NIST National Vulnerability Database (record CVE-2025-27520), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.