MODULE

BentoML's runner server RCE

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

BentoML's runner server RCE

Disclosed
04/09/2025
Created
04/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.

Author(s)

  • SeaWind
  • Takahiro Yokoyama

Development

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;