CVE-2025-27520Bentoml
Critical 9.8 No auth needed
Follow: this CVE · Bentoml · Bentoml We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Apr 4, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Bentoml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | bentoml |
≥ 1.3.4 < 1.4.3 |
1.4.3 |
pip install "bentoml>=1.4.3" |
| PyPI | bentoml |
≥ 1.3.4 < 1.4.3 |
1.4.3 |
pip install "bentoml>=1.4.3" |
Per OSV / GitHub Advisories (GHSA-33xw-247w-6hmc, PYSEC-2026-294). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bentoml | bentoml | ≥ 1.3.4 ≤ 1.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Third Party Advisory