BentoMLGHSA-hw8j-hw49-752c
BentoML Denial of Service (DoS) via Multipart Boundary
High7.5CVE-2024-9056 · Published Mar 20, 2025 · updated Jul 7, 2026
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| bentoml PyPI | <= 1.4.5 | No fix yet |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-400, CWE-770
- Also known as
- CVE-2024-9056, PYSEC-2026-1219
- nvd.nist.gov/vuln/detail/CVE-2024-9056
- github.com/bentoml/BentoML
- github.com/bentoml/BentoML/blob/a6f5f937be6ec278f3d4f3bbc6f3c8f9564820d7/src/bentoml/_internal/io_descriptors/file.py#L293
- github.com/bentoml/BentoML/blob/v1.4.5/src/bentoml/_internal/io_descriptors/file.py#L293C9-L293C66
- huntr.com/bounties/a24a13c2-0300-4a95-b26a-ac7fe8f6521b
More BentoML advisories
All BentoML| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jul 292025 | BentoML SSRF Vulnerability in File Upload Processing | Critical9.9 | 1.4.19 |
| Apr 92025 | BentoML's runner server Vulnerable to Remote Code Execution (RCE) via Insecure Deserialization | Critical9.8 | 1.4.8 |
| Apr 42025 | BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization | Critical9.8 | 1.4.3 |
| Mar 202025 | BentoML deserialization vulnerability | Critical9.8 | No fix yet |
| Mar 202025 | BentoML Open Redirect vulnerability | Medium6.1 | No fix yet |
| Mar 202025 | BentoML vulnerable to Uncontrolled Resource Consumption | High7.5 | No fix yet |