Skip to content

CVE-2025-27520 BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization

CriticalCVSS 9.8 EPSS 40.6% Framework module
Published
Updated
Exploit status
Public exploit available
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
BentoML = >= 1.3.4, < 1.4.3; >= 1.3.4, <= 1.4.2 after 1.4.2 Fixed
pypi bentoml(PyPI) = 1.3.4.post1; = 1.3.5; = 1.3.6; = 1.3.7 +21 more 1.4.3 Fixed

Affected products

ProductAffected versionsFixed in
pypi bentoml(PyPI) >= 1.3.4, < 1.4.3 1.4.3
pypi bentoml(PyPI) = 1.3.10 No fix listed
pypi bentoml(PyPI) = 1.3.11 No fix listed
pypi bentoml(PyPI) = 1.3.12 No fix listed
pypi bentoml(PyPI) = 1.3.13 No fix listed
pypi bentoml(PyPI) = 1.3.14 No fix listed
pypi bentoml(PyPI) = 1.3.15 No fix listed
pypi bentoml(PyPI) = 1.3.16 No fix listed
pypi bentoml(PyPI) = 1.3.17 No fix listed
pypi bentoml(PyPI) = 1.3.18 No fix listed
pypi bentoml(PyPI) = 1.3.19 No fix listed
pypi bentoml(PyPI) = 1.3.20 No fix listed
pypi bentoml(PyPI) = 1.3.21 No fix listed
pypi bentoml(PyPI) = 1.3.22 No fix listed
pypi bentoml(PyPI) = 1.3.4.post1 No fix listed
pypi bentoml(PyPI) = 1.3.5 No fix listed
pypi bentoml(PyPI) = 1.3.6 No fix listed
pypi bentoml(PyPI) = 1.3.7 No fix listed
pypi bentoml(PyPI) = 1.3.8 No fix listed
pypi bentoml(PyPI) = 1.3.9 No fix listed
pypi bentoml(PyPI) = 1.4.0 No fix listed
pypi bentoml(PyPI) = 1.4.0a1 No fix listed
pypi bentoml(PyPI) = 1.4.0a2 No fix listed
pypi bentoml(PyPI) = 1.4.1 No fix listed
pypi bentoml(PyPI) = 1.4.2 No fix listed
Show 2 more
ProductAffected versionsFixed in
BentoML = >= 1.3.4, < 1.4.3 No fix listed
BentoML >= 1.3.4, <= 1.4.2 No fix listed

References