CRITICAL · CVSS 9.8 Published: 2025-04-04
CVE-2025-27520 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-27520 |
|---|---|
| Base Severity / Score | CRITICAL (9.8 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Weakness Classification | CWE-502 |
| Archive Categories | CRITICAL Advisories · 2025 Index |
Operational Mitigation Guidance
Immediate patching or compensating network isolation is strongly advised. Audit perimeter exposure, apply vendor security updates immediately, and restrict service privileges using least-privilege namespaces. For architectural isolation principles, review per-process namespace isolation.
Upstream 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
Related Security Advisories
CVE-2025-2752 MEDIUM 4.3
CVE-2025-27521 MEDIUM 6.8
CVE-2025-27515 CRITICAL 9.8
CVE-2025-27528 CRITICAL 9.1
CVE-2025-27531 CRITICAL 9.8
CVE-2025-27539 CRITICAL 9.8
CVE-2025-27540 CRITICAL 9.8
CVE-2025-27583 CRITICAL 9.1