CVE-2025-27520CWE-502

BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization

Critical · published April 4, 2025

CVSS v3.1
9.8
EPSS
41%
Percentile
98.6
In the wild
Unconfirmed
What it is

🚨 If you're using BentoML v1.4.2, you might want to pause and check your server! An insecure deserialization vulnerability could let any unauthenticated user execute arbitrary code. 🔥 Think of it as a restaurant where anyone can slip in a fake order under the table without staff checking — a quick recipe for disaster! 🍽️ An attacker could waltz in and run any code they choose, which could lead to complete server takeover, data leaks, or worse! Imagine malicious scripts running wild on your system — absolutely devastating. 🔥

Put simply

Think of it as a restaurant where anyone can slip in a fake order under the table without staff checking — a quick recipe for disaster! 🍽️ This vulnerability arises from insecure deserialization in the 'serde.py' segment of BentoML, allowing attackers to execute arbitrary code remotely, bypassing authentication altogether.

What to do

An attacker could waltz in and run any code they choose, which could lead to complete server takeover, data leaks, or worse! Imagine malicious scripts running wild on your system — absolutely devastating. 🔥 Update to BentoML version 1.4.3 immediately to patch this critical RCE vulnerability. Additionally, review your application’s codebase for any other potential insecure deserialization and implement strict input validation. 🛡️ You’ve got this! Just follow these steps, and you’ll have your systems locked down in no time! 💪✨

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.40620 · 98.6th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2025-04-04T14:28Z
EPSS history
Timeline
  • 04 APR 14:28Z
    BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization
    cvelistv5