Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2025-27520 EUVD-2025-9752GHSA-33xw-247w-6hmcPYSEC-2026-294

BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization

Published Apr 4, 2025 · Updated Apr 4, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
bentoml BentoML >= 1.3.4, < 1.4.3 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

  • BentoML RCE
    exploit/linux/http/bentoml_rce_cve_2025_27520

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI bentoml >= 1.3.4, < 1.4.3 1.4.3 GHSA-33xw-247w-6hmc

References