MODULE

BentoML RCE

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

BentoML RCE

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

Author(s)

  • c2an1
  • 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_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

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

;