CVE-2025-27520

Critical

Description

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. A Remote Code Execution (RCE) vulnerability caused by insecure deserialization has been identified in the latest version (v1.4.2) of BentoML. It allows any unauthenticated user to execute arbitrary code on the server. It exists an unsafe code segment in serde.py. This vulnerability is fixed in 1.4.3.

SeverityCritical
CVSS9.8
Exploit probability—
ProductBentoml
PublishedApr 4, 2025
First seenApr 4, 2025

How to fix

Update
  • bentoml1.4.3 or later

Affected products

ProductAffected versionsFixed in
bentoml bentoml1.3.4 ≤ v ≤ 1.4.2—
bentomlPyPI1.3.4 ≤ v < 1.4.31.4.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.