Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

BentoML's runner server RCE

Disclosed
Apr 9, 2025
Created
Apr 23, 2025

Description

There was an insecure deserialization in BentoML's runner server prior to version 1.4.8.
By setting specific headers and parameters in the POST request, it is possible to execute unauthorized arbitrary code in the context of the user running the server,
which will grant initial access and information disclosure.

Authors

SeaWind
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_runner_server_rce_cve_2025_32375
msf exploit(bentoml_runner_server_rce_cve_2025_32375) > show targets
...targets...
msf exploit(bentoml_runner_server_rce_cve_2025_32375) > set TARGET < target-id >
msf exploit(bentoml_runner_server_rce_cve_2025_32375) > show options
...show and set options...
msf exploit(bentoml_runner_server_rce_cve_2025_32375) > 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.