CVE-2025-27520

BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization

Published Apr 4, 2025 CVSS 3.1 · 9.8 Critical EPSS 40.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-33xw-247w-6hmc BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization
History
Type Values Removed Values Added
Metrics epss

{'score': 0.57999}

epss

{'score': 0.61167}

Type Values Removed Values Added
First Time appeared Bentoml
Bentoml bentoml
CPEs cpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:*
Vendors & Products Bentoml
Bentoml bentoml
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 4, 2025, 2:51 PM
Reserved
Feb 26, 2025, 6:11 PM
Status
Analyzed
Published
Apr 4, 2025, 3:15 PM
Modified
Jun 17, 2026, 9:03 AM