HIGH7.5
PYSEC-2026-1219
BentoML Denial of Service (DoS) via Multipart Boundary
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/bentoml
Introduced in:
0No fixed version published yet for bentoml (pip). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-9056[ADVISORY]
- https://github.com/bentoml/BentoML[PACKAGE]
- https://github.com/bentoml/BentoML/blob/a6f5f937be6ec278f3d4f3bbc6f3c8f9564820d7/src/bentoml/_internal/io_descriptors/file.py#L293[WEB]
- https://github.com/bentoml/BentoML/blob/v1.4.5/src/bentoml/_internal/io_descriptors/file.py#L293C9-L293C66[WEB]
- https://huntr.com/bounties/a24a13c2-0300-4a95-b26a-ac7fe8f6521b[WEB]
- https://pypi.org/project/bentoml[PACKAGE]
- https://github.com/advisories/GHSA-hw8j-hw49-752c[ADVISORY]