Description
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to version 1.4.34, 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. Version 1.4.34 contains a patch for the issue.
References (3)
Core 3
Core References
Vendor Advisory x_refsource_confirm
https://github.com/bentoml/BentoML/security/advisories/GHSA-6r62-w2q3-48hf
Patch x_refsource_misc
https://github.com/bentoml/BentoML/commit/84d08cfeb40c5f2ce71b3d3444bbaa0fb16b5ca4
Product, Release Notes x_refsource_misc
https://github.com/bentoml/BentoML/releases/tag/v1.4.34
Scores
CVSS v3
7.4
EPSS
0.0001
EPSS Percentile
2.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (2)
bentoml/bentoml
< 1.4.34
pypi/bentoml
0 - 1.4.34PyPI
Published
Jan 26, 2026
Tracked Since
Feb 18, 2026