---
id: CVE-2024-9056
aliases:
  - GHSA-hw8j-hw49-752c
  - PYSEC-2026-1219
title: BentoML Denial of Service (DoS) via Multipart Boundary
summary: BentoML Denial of Service (DoS) via Multipart Boundary
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: bentoml
product: bentoml
ecosystem: pip
affected:
  - bentoml <= 1.4.5
published: '2025-03-20'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-hw8j-hw49-752c'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-9056'
  - url: 'https://github.com/bentoml/BentoML'
  - url: >-
      https://github.com/bentoml/BentoML/blob/a6f5f937be6ec278f3d4f3bbc6f3c8f9564820d7/src/bentoml/_internal/io_descriptors/file.py#L293
  - url: >-
      https://github.com/bentoml/BentoML/blob/v1.4.5/src/bentoml/_internal/io_descriptors/file.py#L293C9-L293C66
  - url: 'https://huntr.com/bounties/a24a13c2-0300-4a95-b26a-ac7fe8f6521b'
tags:
  - osv
  - pip
epss: 0.00711
epssPercentile: 0.5217
ingestedAt: '2026-07-08T18:25:50.329Z'
---

## Overview

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 packages

- `bentoml <= 1.4.5`

## Remediation

Refer to the advisory for the patched release.
