Command Injection Affecting bentoml package, versions [,1.4.38)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-BENTOML-15909743
  • published5 Apr 2026
  • disclosed3 Apr 2026
  • creditkodareef5

Introduced: 3 Apr 2026

CVE-2026-35043  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade bentoml to version 1.4.38 or higher.

Overview

bentoml is a BentoML: Build Production-Grade AI Applications

Affected versions of this package are vulnerable to Command Injection in the system_packages parameter of the deployment setup process. An attacker can execute arbitrary commands on the cloud build infrastructure by injecting malicious input into the system_packages field of the configuration file, which is then interpolated directly into a shell command without proper quoting.

CVSS Base Scores

version 4.0
version 3.1