Exploit database

Vulnerability

CVE-2025-27520

BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · GitHub_M

Vector string

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

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.

CVE Program

Exploit source choices

2 sources
BentoML RCE
MSF-linux--http--bentoml_rce_cve_2025_27520MetasploitLinux,Python,Unix / remotePreferred

A Remote Code Execution (RCE) vulnerability caused by insecure deserialization has been identified in v1.4.2 of BentoML. It allows any unauthenticated user to execute arbitrary code on the server.

2025-04-04bentoml_rce_cve_2025_27520.rb
amalpvatayam67/day09-bentoml-deser-lab
GH-51225241d77264d7cefcf847f67cecb2GitHubUnofficial GitHub source

ay 09 — CVE-2025-27520 (BentoML-style insecure deserialization) — Local Docker lab

2025-09-227 files · 0 stars