Skip to main content
← All vulnerabilities
CVE-2025-27520PYSEC-2026-294GHSA-33XW-247W-6HMC

BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.3
1 Metasploit module, 3 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • bentoml BentoML

    From 1.3.4 · fixed in 1.4.3

  • bentomlPyPI

    From 1.3.4 · fixed in 1.4.3

References 6

GitHub · bentoml/BentoML

GitHub · rapid7/metasploit-framework

GitHub · Evillm/CVE-2025-27520-PoC

GitHub · amalpvatayam67/day09-bentoml-deser-lab

GitHub · electricsheep08/CVE-2025-27520