VDB

CVE-2025-27520

CVE-2025-27520 PUBLISHED CVSS 9.8 CRITICAL

BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization

Reported by github_m · Published April 4, 2025

bentoml is fixed in 1.4.3 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bentomlPyPI1.4.3
bentomlbentoml1.4.2

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
bentomlBentoML>= 1.3.4, < 1.4.3
bentomlBentoML1.3.4
PyPIbentoml1.3.4

Timeline

  • Apr 4, 2025 CVE Published
  • Apr 4, 2025 CVE Updated
  • Apr 4, 2025 PoC Published (21 in total, the first dated here)
  • Apr 5, 2025 EPSS Score (30 in total, the first dated here)
  • May 31, 2025 Coalition ESS Score (13 in total, the first dated here)
  • Dec 18, 2025 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-27520
vulnetix vdb fixes CVE-2025-27520

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-27520/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›