← Vulnerability feed

Vulnerability record · CVE-2026-35043 · published 6 April 2026

CVE-2026-35043: Bentoml os command injection vulnerability

Bentoml · Bentoml

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.

7.8 CVSS 3.1 High EPSS 0.26% · top 84.0% CWE-78 · OS command injection
7.8CVSS 3.1 base score
0.26%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-35043 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.9CVE-2025-54381Bentoml server-side request forgery (ssrf) vulnerabilityBentoML 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 u…EPSS 15%9.8CVE-2025-32375BentoML runner server insecure deserialization enables unauthenticated RCEBentoML before 1.4.8 deserializes untrusted data in its runner server. By sending a crafted POST request with specific headers and parameters, an att…EPSS 52%analysed9.8CVE-2025-27520Bentoml deserialization of untrusted data vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. A Remote Code Execution (RCE) vulnerabilit…EPSS 41%9.6CVE-2026-35044Bentoml vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.38, the Dockerfile generation…EPSS 0.48%8.8CVE-2026-44345Bentoml os command injection vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.39, src/bentoml/_internal/con…EPSS 0.48%8.8CVE-2026-44346Bentoml os command injection vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.39, a malicious bentofile.yam…EPSS 0.48%8.6CVE-2026-27905Bentoml link following vulnerabilityBentoML 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(…EPSS 0.21%7.8CVE-2026-33744Bentoml code injection vulnerabilityBentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.37, the `docker.system_packag…EPSS 0.25%

Source: NIST National Vulnerability Database (record CVE-2026-35043), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.