VDB
Sign up
HIGH8.8

PYSEC-2026-190

Quick fix

PYSEC-2026-190 — bentoml: upgrade to the fixed version with the command below.

pip install --upgrade 'bentoml>=1.4.39'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/bentoml
Introduced in: 0Fixed in: 1.4.39
Fixpip install --upgrade 'bentoml>=1.4.39'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/bentoml"]}'