# CVE-2025-27520: BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 40.6%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-04T14:28:51.574Z
- Modified: 2026-10-27T15:30:03.554Z
- Also known as: GHSA-33xw-247w-6hmc, PYSEC-2026-294
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- bentoml BentoML: >= 1.3.4, < 1.4.3; from 1.3.4 up to 1.4.2
- bentoml (PyPI): from 1.3.4 before 1.4.3

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/bentoml/BentoML/security/advisories/GHSA-33xw-247w-6hmc> (exploit, third-party-advisory, web)
- <https://github.com/bentoml/BentoML/commit/b35f4f4fcc53a8c3fe8ed9c18a013fe0a728e194> (patch, 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> (package, web)
- <https://github.com/advisories/GHSA-33xw-247w-6hmc> (advisory)

## Sources

- CVE List: [CVE-2025-27520](https://www.cve.org/CVERecord?id=CVE-2025-27520), CVE Terms of Use, modified 2025-04-04
- GitHub Advisory Database: [GHSA-33xw-247w-6hmc](https://github.com/advisories/GHSA-33xw-247w-6hmc), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2025-27520](https://nvd.nist.gov/vuln/detail/CVE-2025-27520), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-294](https://osv.dev/vulnerability/PYSEC-2026-294), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2025-27520 · Whole record: https://cve.day/CVE-2025-27520.json · Rebuilt by cve.day 2026-11-25T22:58:56.055Z
