# CVE-2024-9070: BentoML deserialization vulnerability

Source: https://junglewise.ai/threats/cve-2024-9070-bentoml-deserialization-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-03-20  
License: CC BY 4.0 with a link back

CVE-2024-9070 · Severity: critical · CVSS 9.8 · Published 2025-03-20

A deserialization vulnerability exists in BentoML's runner server in bentoml/bentoml versions <=1.3.4.post1. By setting specific parameters, an attacker can execute unauthorized arbitrary code on the server, causing severe harm. The vulnerability is triggered when the args-number parameter is greater than 1, leading to automatic deserialization and arbitrary code execution.

Technologies: [bentoml (PyPI)](https://junglewise.ai/threats/technologies/bentoml). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-9070 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-9070 being exploited in the wild.

**How severe is CVE-2024-9070?** Critical severity, with a CVSS score of 9.8, published 20 March 2025.

**Which products and versions are affected?** bentoml (PyPI) <= 1.4.5, ECOSYSTEM:introduced=0,last_affected=1.4.5.

**Is there a fix for CVE-2024-9070?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2024-9070?** Check whether you run bentoml (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- bentoml (PyPI) <= 1.4.5, ECOSYSTEM:introduced=0,last_affected=1.4.5

## Identifiers

- CVE-2024-9070
- GHSA-9g44-gwvm-hc44
- PYSEC-2026-295

## Related threats

- [bentoml OpenLLM command injection in Model Repository Directory Name Handler](https://junglewise.ai/threats/cve-2026-15035-bentoml-openllm-command-injection-in-model-repository-directory)
- [PYSEC-2026-1218 - BentoML has a Path Traversal via Bentofile Configuration](https://junglewise.ai/threats/cve-2026-24123-bentoml-has-a-path-traversal-via-bentofile-configuration)
- [PYSEC-2026-1219 - BentoML Denial of Service (DoS) via Multipart Boundary](https://junglewise.ai/threats/cve-2024-9056-bentoml-denial-of-service-dos-via-multipart-boundary)
- [BentoML command injection in Dockerfile generation via bentofile.yaml](https://junglewise.ai/threats/cve-2026-44346-bentoml-command-injection-in-dockerfile-generation-via-bentofile)
- [BentoML command injection in Dockerfile base_image template](https://junglewise.ai/threats/cve-2026-44345-bentoml-command-injection-in-dockerfile-base-image-template)
