Search for packages
| purl | pkg:pypi/bentoml@1.2.7 |
| Vulnerability | Summary | Fixed by |
|---|---|---|
|
VCID-4bcc-ergh-83e6
Aliases: CVE-2025-32375 GHSA-7v4r-c989-xh26 PYSEC-2025-32 |
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 possible to execute any unauthorized arbitrary code on the server, which will grant the attackers to have the initial access and information disclosure on the server. This vulnerability is fixed in 1.4.8. |
Affected by 8 other vulnerabilities. |
|
VCID-4wp2-p85j-s7dr
Aliases: CVE-2026-24123 GHSA-6r62-w2q3-48hf |
BentoML has a Path Traversal via Bentofile Configuration BentoML's `bentofile.yaml` configuration allows path traversal attacks through multiple file path fields (`description`, `docker.setup_script`, `docker.dockerfile_template`, `conda.environment_yml`). An attacker can craft a malicious bentofile that, when built by a victim, exfiltrates arbitrary files from the filesystem into the bento archive. This enables supply chain attacks where sensitive files (SSH keys, credentials, environment variables) are silently embedded in bentos and exposed when pushed to registries or deployed. |
Affected by 6 other vulnerabilities. |
|
VCID-5mjt-8ze7-h7d9
Aliases: CVE-2026-44346 GHSA-w2pm-x38x-jp44 PYSEC-2026-190 |
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-generated Dockerfile. When the victim runs bentoml containerize on the imported bento, those RUN directives execute on the host during docker build. This vulnerability is fixed in 1.4.39. |
Affected by 0 other vulnerabilities. |
|
VCID-bv3z-1yux-kka6
Aliases: CVE-2026-35044 GHSA-v959-cwq9-7hr6 PYSEC-2026-159 |
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.Environment with the jinja2.ext.do extension to render user-provided dockerfile_template files. When a victim imports a malicious bento archive and runs bentoml containerize, attacker-controlled Jinja2 template code executes arbitrary Python directly on the host machine, bypassing all container isolation. This vulnerability is fixed in 1.4.38. |
Affected by 2 other vulnerabilities. |
|
VCID-ek5w-sqgd-xkbg
Aliases: CVE-2024-12760 GHSA-564p-rx2q-4c8v |
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. |
Affected by 11 other vulnerabilities. |
|
VCID-h88c-7wrv-fyg2
Aliases: CVE-2024-12759 GHSA-hh3j-9m59-p8vc |
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 in an HTTP request. The server continuously processes each character, leading to excessive resource consumption and rendering the service unavailable. The issue is unauthenticated and does not require any user interaction. |
Affected by 11 other vulnerabilities. |
|
VCID-nqwe-qcu8-jkan
Aliases: CVE-2024-9070 GHSA-9g44-gwvm-hc44 |
BentoML deserialization vulnerability 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 when the args-number parameter is greater than 1, leading to automatic deserialization and arbitrary code execution. | There are no reported fixed by versions. |
|
VCID-twd8-ejvs-6ffv
Aliases: CVE-2026-33744 GHSA-jfjg-vc52-wqvf PYSEC-2026-157 |
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` commands without sanitization. Since `system_packages` is semantically a list of OS package names (data), users do not expect values to be interpreted as shell commands. A malicious `bentofile.yaml` achieves arbitrary command execution during `bentoml containerize` / `docker build`. Version 1.4.37 fixes the issue. |
Affected by 4 other vulnerabilities. |
|
VCID-ujzb-bk9k-7yf2
Aliases: CVE-2026-44345 GHSA-78f9-r8mh-4xm2 PYSEC-2026-189 |
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 filtering, or validation. A malicious bento.yaml with a multi-line docker.base_image value smuggles arbitrary Dockerfile directives into the generated Dockerfile, and bentoml containerize then runs docker build which executes the injected RUN directives on the victim host. This vulnerability is fixed in 1.4.39. |
Affected by 0 other vulnerabilities. |
|
VCID-wzre-vn34-qqak
Aliases: CVE-2024-9056 GHSA-hw8j-hw49-752c |
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. | There are no reported fixed by versions. |
|
VCID-z6sb-5n7n-1qgz
Aliases: CVE-2026-27905 GHSA-m6w7-qv66-g3mf |
BentoML Vulnerable to Arbitrary File Write via Symlink Path Traversal in Tar Extraction The `safe_extract_tarfile()` function validates that each tar member's path is within the destination directory, but for symlink members it only validates the symlink's own path, **not the symlink's target**. An attacker can create a malicious bento/model tar file containing a symlink pointing outside the extraction directory, followed by a regular file that writes through the symlink, achieving arbitrary file write on the host filesystem. |
Affected by 5 other vulnerabilities. |
|
VCID-zxca-jerw-6ycm
Aliases: CVE-2026-35043 GHSA-fgv4-6jr3-jgfw PYSEC-2026-158 |
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 interpolates system_packages directly into a shell command using an f-string without any quoting. The generated script is uploaded to BentoCloud as setup.sh and executed on the cloud build infrastructure during deployment, making this a remote code execution on the CI/CD tier. This vulnerability is fixed in 1.4.38. |
Affected by 2 other vulnerabilities. |
| Vulnerability | Summary | Aliases |
|---|---|---|
| This package is not known to fix vulnerabilities. | ||