Rapid7

module

BentoML RCE

Disclosed
Apr 4, 2025
Created
Apr 16, 2025

Description

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.

Authors

c2an1
Takahiro Yokoyama

Platform

Linux,Python,Unix

Architectures

python, cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/linux/http/bentoml_rce_cve_2025_27520
msf exploit(bentoml_rce_cve_2025_27520) > show targets
...targets...
msf exploit(bentoml_rce_cve_2025_27520) > set TARGET < target-id >
msf exploit(bentoml_rce_cve_2025_27520) > show options
...show and set options...
msf exploit(bentoml_rce_cve_2025_27520) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.