Skip to content
OpenAdvisories

Package · PyPI

bentoml

17 known vulnerabilities.

17 results · Feed

  • Medium 5.3

    bentoml OpenLLM Model Repository Directory Name common.py async_run_command command injection

    A vulnerability was found in bentoml OpenLLM 0.6.30. This affects the function async_run_command of the file src/openllm/common.py of the component Model Repository Directory Name Handler. Performing a manipulation of the argument cmd results in command injec…

  • High 8.8

    BentoML: Dockerfile command injection via docker.base_image

    BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.39, src/bentoml/_internal/container/frontend/dockerfile/templates/base_v2.j2 interpolates docker.base_image raw with no escaping, newline f…

  • High 8.8

    BentoML: Dockerfile command injection via envs[*].name in bentofile.yaml

    BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.39, a malicious bentofile.yaml containing a newline-injected value in envs[*].name produces unquoted RUN directives in the BentoML-generate…

  • Medium 5.5

    BentoML has Information Disclosure in `bentoml build` via symlink traversal in the build context

    BentoML is a Python library for building online serving systems optimized for AI apps and model inference. In versions 1.4.38 and prior, the build packaging workflow follows attacker-controlled symlinks inside the build context and copies the referenced file …

  • High 8.8

    BentoML has a Server-Side Template Injection via unsandboxed Jinja2 Environment in Dockerfile generation

    BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.38, the Dockerfile generation function generate_containerfile() in src/bentoml/_internal/container/generate.py uses an unsandboxed jinja2.E…

  • High 7.8

    BentoML: command injection in cloud deployment setup script (deployment.py)

    BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.38, the cloud deployment path in src/bentoml/_internal/cloud/deployment.py was not included in the fix for CVE-2026-33744. Line 1648 interp…

  • High 7.8

    BentoML has Dockerfile Command Injection via system_packages in bentofile.yaml

    BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.37, the `docker.system_packages` field in `bentofile.yaml` accepts arbitrary strings that are interpolated directly into Dockerfile `RUN` c…

  • High 8.6

    BentoML has an Arbitrary File Write via Symlink Path Traversal in Tar Extraction

    BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.36, the safe_extract_tarfile() function validates that each tar member's path is within the destination directory, but for symlink members …

  • High 7.4

    BentoML has a Path Traversal via Bentofile Configuration

    BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to version 1.4.34, BentoML's `bentofile.yaml` configuration allows path traversal attacks through multiple file path fields (`description`, `docke…

  • Critical 9.9
    CVE-2025-54381 Public exploit EPSS 14%

    BentoML is Vulnerable to an SSRF Attack Through File Upload Processing

    BentoML is a Python library for building online serving systems optimized for AI apps and model inference. In versions 1.4.0 until 1.4.19, the file upload processing system contains an SSRF vulnerability that allows unauthenticated remote attackers to force t…

  • Critical 9.8
    CVE-2025-32375 Public exploit EPSS 52%

    Insecure Deserialization leads to RCE in BentoML's runner server

    BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.8, there was an insecure deserialization in BentoML's runner server. By setting specific headers and parameters in the POST request, it is …

  • Critical 9.8
    CVE-2025-27520 Public exploit EPSS 41%

    BentoML Allows Remote Code Execution (RCE) via Insecure Deserialization

    BentoML is a Python library for building online serving systems optimized for AI apps and model inference. A Remote Code Execution (RCE) vulnerability caused by insecure deserialization has been identified in the latest version (v1.4.2) of BentoML. It allows …

  • High 7.5

    BentoML vulnerable to Uncontrolled Resource Consumption

    In bentoml/bentoml version 1.3.9, the `/login` endpoint of the newly integrated Gradio app is vulnerable to a Denial of Service (DoS) attack. This vulnerability can be exploited by appending characters, such as dashes (-), to the end of a multipart boundary i…

  • Medium 6.1

    BentoML Open Redirect vulnerability

    An open redirect vulnerability in bentoml/bentoml v1.3.9 allows a remote unauthenticated attacker to redirect users to arbitrary websites via a specially crafted URL. This can be exploited for phishing attacks, malware distribution, and credential theft.

  • Critical 9.8

    Deserialization Vulnerability in BentoML's Runner Server in bentoml/bentoml

    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…

  • High 7.5

    Denial of Service in bentoml/bentoml

    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 proces…

  • Critical 10.0

    Insecure Deserialization Leading to RCE in bentoml/bentoml

    An insecure deserialization vulnerability exists in the BentoML framework, allowing remote code execution (RCE) by sending a specially crafted POST request. By exploiting this vulnerability, attackers can execute arbitrary commands on the server hosting the B…