Deserialization in Bentoml

CVE-2025-27520

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.

Vulnerability class: Insecure Deserialization

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.406, 98.7th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Bentoml — versions >= 1.3.4, < 1.4.3

Weakness classification (CWE)

Public exploits and proof-of-concept code

Metasploit modules

3 public repositories with exploit or proof-of-concept code for this CVE:

Also mentioned in 3 other repositories (ARPSyndicate/cve-scores, nomi-sec/PoC-in-GitHub, PuddinCat/GithubRepoSpider). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References