CVE-2024-9070 Deserialization Vulnerability in BentoML's Runner Server in bentoml/bentoml
Attackers can execute arbitrary code on BentoML runner servers by triggering unsafe deserialization via specific parameters.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-9070?
CVE-2024-9070 is a critical unsafe deserialization vulnerability in bentoml/bentoml, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-502
Which versions are affected by CVE-2024-9070?
3 open source packages ship an affected version, including bentoml.
| Package | Affected | Fixed in |
|---|---|---|
bentoml PyPI | All versions to 1.4.5 | None |
bentoml PyPI | All versions to 1.4.5 | None |
bentoml PyPI | All versions to 1.4.5 | None |
How do I fix CVE-2024-9070?
No fix has been published for CVE-2024-9070 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2024-9070 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9070 exists.
Sources
Also known as GHSA-9g44-gwvm-hc44, PYSEC-2026-295.