What’s Vulnerable › Vulnerabilities
CVE-2025-27520: BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 40.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-04-04 · updated 2026-06-17
- Weakness: CWE-502
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.
Affected products
- BentoML: from 1.3.4 through 1.4.2
References
- https://github.com/bentoml/BentoML/commit/b35f4f4fcc53a8c3fe8ed9c18a013fe0a728e194
- https://github.com/bentoml/BentoML/security/advisories/GHSA-33xw-247w-6hmc
- https://github.com/bentoml/BentoML/security/advisories/GHSA-33xw-247w-6hmc
Get alerted when CVE-2025-27520 or the next vulnerability affects your stack