CVE-2025-27520
CRITICAL 9.8CVSS 3.1BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization
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.
- Published
- 4 Apr 2025
- Last modified
- 27 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-502
- Also known as
- GHSA-33xw-247w-6hmcPYSEC-2026-294
- Sources
- NVDJSONOSV GHSA-33xw-247w-6hmcJSONOSV PYSEC-2026-294JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bentoml | bentomlcpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:* |
>= 1.3.4, <= 1.4.2 | |
| OSV | PyPI | bentoml | >= 1.3.4, < 1.4.3 | 1.4.3 |
References
- https://github.com/bentoml/BentoML/commit/b35f4f4fcc53a8c3fe8ed9c18a013fe0a728e194 · Patch, WEB
- https://github.com/bentoml/BentoML/security/advisories/GHSA-33xw-247w-6hmc · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-27520 · ADVISORY
- https://github.com/bentoml/BentoML · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/bentoml/PYSEC-2026-294.yaml · WEB
- https://pypi.org/project/bentoml · WEB, PACKAGE
- https://github.com/advisories/GHSA-33xw-247w-6hmc · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 4 Apr 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Apr 2025)