RCE in Bentoml

CVE-2026-35043

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.003 (16.2th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 16th percentile — 16.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-35043: held from 0.003 to 0.003.

EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: -0.001

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-35043?
CVE-2026-35043 is a high-severity vulnerability in Bentoml, classified under OS Command Injection. CVSS score: 7.8/10. Published 2026-04-06.
How severe is CVE-2026-35043?
High severity. CVSS v3 base score is 7.8 out of 10.