BentoML deserialization vulnerability
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | bentoml | <= 1.4.5 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-9070
- https://github.com/bentoml/BentoML
- https://github.com/bentoml/BentoML/blob/a6f5f937be6ec278f3d4f3bbc6f3c8f9564820d7/src/bentoml/_internal/server/runner_app.py#L297
- https://github.com/bentoml/BentoML/blob/v1.4.5/src/bentoml/_internal/server/runner_app.py#L301
- https://huntr.com/bounties/7be6fc22-be18-44ee-a001-ac7158d5e1a5
- https://pypi.org/project/bentoml
- https://github.com/advisories/GHSA-9g44-gwvm-hc44
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-502- Platform
- Python (PyPI)
- Package
bentoml- Disclosed
- 20.03.2025
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-9g44-gwvm-hc44 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-295 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: bentoml
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 17
- First → latest
- 04.2024 07.2026
- Without a fix
- 5
- Exploited in attacks
- 0
Severity breakdown
- Critical 5
- High 10
- Medium 2
Disclosures per year
- 2024: 1
- 2025: 7
- 2026: 9
-
BentoML deserialization vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.