BentoML Denial of Service (DoS) via Multipart Boundary
BentoML version v1.3.4post1 is vulnerable to a Denial of Service (DoS) attack. The vulnerability can be exploited by appending characters, such as dashes (-), to the end of a multipart boundary in an HTTP request. This causes the server to continuously process each character, leading to excessive resource consumption and rendering the service unavailable. The issue is unauthenticated and does not require any user interaction, impacting all users of the service.
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-9056
- https://github.com/bentoml/BentoML
- https://github.com/bentoml/BentoML/blob/a6f5f937be6ec278f3d4f3bbc6f3c8f9564820d7/src/bentoml/_internal/io_descriptors/file.py#L293
- https://github.com/bentoml/BentoML/blob/v1.4.5/src/bentoml/_internal/io_descriptors/file.py#L293C9-L293C66
- https://huntr.com/bounties/a24a13c2-0300-4a95-b26a-ac7fe8f6521b
- https://pypi.org/project/bentoml
- https://github.com/advisories/GHSA-hw8j-hw49-752c
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-400, CWE-770- Platform
- Python (PyPI)
- Package
bentoml- Disclosed
- 20.03.2025
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1219 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-hw8j-hw49-752c - 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 Denial of Service (DoS) via Multipart Boundary 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.