Skip to content

CVE-2026-40610 BentoML has Information Disclosure in `bentoml build` via symlink traversal in the build context

MediumCVSS 5.5 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. In versions 1.4.38 and prior, the build packaging workflow follows attacker-controlled symlinks inside the build context and copies the referenced file contents into the generated Bento artifact. If a victim builds an untrusted repository or other attacker-supplied build context, the attacker can place a symlink such as loot.txt -> /tmp/outside-marker.txt or a link to a more sensitive local file. When bentoml build runs, BentoML dereferences the symlink and packages the target file contents into the Bento. The leaked file can then propagate further through export, push, or containerization workflows. An attacker can exfiltrate local files from the build host into the Bento artifact, exposing secrets such as cloud credentials, SSH keys, API tokens, environment files, or other sensitive local configurations. Because Bento artifacts are commonly exported, uploaded, stored, or containerized after build, the leaked file contents can spread beyond the original build machine. This issue has been fixed in version 1.4.39.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
BentoML < 1.4.39; = < 1.4.39 1.4.39 Fixed
pypi bentoml(PyPI) < 1.4.39; <= 1.4.38; = 0.0.1; = 0.0.2 +216 more 1.4.39 Fixed

Affected products

ProductAffected versionsFixed in
pypi bentoml(PyPI) < 1.4.39 1.4.39
pypi bentoml(PyPI) = 0.0.1 No fix listed
pypi bentoml(PyPI) = 0.0.2 No fix listed
pypi bentoml(PyPI) = 0.0.3 No fix listed
pypi bentoml(PyPI) = 0.0.5 No fix listed
pypi bentoml(PyPI) = 0.0.6a0 No fix listed
pypi bentoml(PyPI) = 0.0.7 No fix listed
pypi bentoml(PyPI) = 0.0.7.dev0 No fix listed
pypi bentoml(PyPI) = 0.0.8 No fix listed
pypi bentoml(PyPI) = 0.0.8.post1 No fix listed
pypi bentoml(PyPI) = 0.0.9 No fix listed
pypi bentoml(PyPI) = 0.1.1 No fix listed
pypi bentoml(PyPI) = 0.1.2 No fix listed
pypi bentoml(PyPI) = 0.10.0 No fix listed
pypi bentoml(PyPI) = 0.10.1 No fix listed
pypi bentoml(PyPI) = 0.11.0 No fix listed
pypi bentoml(PyPI) = 0.11.dev0 No fix listed
pypi bentoml(PyPI) = 0.12.0 No fix listed
pypi bentoml(PyPI) = 0.12.1 No fix listed
pypi bentoml(PyPI) = 0.13.0 No fix listed
pypi bentoml(PyPI) = 0.13.1 No fix listed
pypi bentoml(PyPI) = 0.13.2 No fix listed
pypi bentoml(PyPI) = 0.2.0 No fix listed
pypi bentoml(PyPI) = 0.2.1 No fix listed
pypi bentoml(PyPI) = 0.2.2 No fix listed
Show 175 more
ProductAffected versionsFixed in
pypi bentoml(PyPI) = 0.3.0 No fix listed
pypi bentoml(PyPI) = 0.3.1 No fix listed
pypi bentoml(PyPI) = 0.3.3 No fix listed
pypi bentoml(PyPI) = 0.3.4 No fix listed
pypi bentoml(PyPI) = 0.4.0 No fix listed
pypi bentoml(PyPI) = 0.4.1 No fix listed
pypi bentoml(PyPI) = 0.4.2 No fix listed
pypi bentoml(PyPI) = 0.4.3 No fix listed
pypi bentoml(PyPI) = 0.4.4 No fix listed
pypi bentoml(PyPI) = 0.4.5 No fix listed
pypi bentoml(PyPI) = 0.4.7 No fix listed
pypi bentoml(PyPI) = 0.4.8 No fix listed
pypi bentoml(PyPI) = 0.4.9 No fix listed
pypi bentoml(PyPI) = 0.5.0 No fix listed
pypi bentoml(PyPI) = 0.5.1 No fix listed
pypi bentoml(PyPI) = 0.5.2 No fix listed
pypi bentoml(PyPI) = 0.5.3 No fix listed
pypi bentoml(PyPI) = 0.5.4 No fix listed
pypi bentoml(PyPI) = 0.5.5 No fix listed
pypi bentoml(PyPI) = 0.5.6 No fix listed
pypi bentoml(PyPI) = 0.5.7 No fix listed
pypi bentoml(PyPI) = 0.5.8 No fix listed
pypi bentoml(PyPI) = 0.6.0 No fix listed
pypi bentoml(PyPI) = 0.6.1 No fix listed
pypi bentoml(PyPI) = 0.6.2 No fix listed
pypi bentoml(PyPI) = 0.6.3 No fix listed
pypi bentoml(PyPI) = 0.7.0 No fix listed
pypi bentoml(PyPI) = 0.7.1 No fix listed
pypi bentoml(PyPI) = 0.7.2 No fix listed
pypi bentoml(PyPI) = 0.7.3 No fix listed
pypi bentoml(PyPI) = 0.7.4 No fix listed
pypi bentoml(PyPI) = 0.7.5 No fix listed
pypi bentoml(PyPI) = 0.7.6 No fix listed
pypi bentoml(PyPI) = 0.7.7 No fix listed
pypi bentoml(PyPI) = 0.7.8 No fix listed
pypi bentoml(PyPI) = 0.8.0 No fix listed
pypi bentoml(PyPI) = 0.8.1 No fix listed
pypi bentoml(PyPI) = 0.8.2 No fix listed
pypi bentoml(PyPI) = 0.8.3 No fix listed
pypi bentoml(PyPI) = 0.8.4 No fix listed
pypi bentoml(PyPI) = 0.8.5 No fix listed
pypi bentoml(PyPI) = 0.8.6 No fix listed
pypi bentoml(PyPI) = 0.9.0 No fix listed
pypi bentoml(PyPI) = 0.9.0rc0 No fix listed
pypi bentoml(PyPI) = 0.9.1 No fix listed
pypi bentoml(PyPI) = 0.9.2 No fix listed
pypi bentoml(PyPI) = 1.0.0 No fix listed
pypi bentoml(PyPI) = 1.0.0.dev0 No fix listed
pypi bentoml(PyPI) = 1.0.0.dev1 No fix listed
pypi bentoml(PyPI) = 1.0.0a1 No fix listed
pypi bentoml(PyPI) = 1.0.0a2 No fix listed
pypi bentoml(PyPI) = 1.0.0a3 No fix listed
pypi bentoml(PyPI) = 1.0.0a4 No fix listed
pypi bentoml(PyPI) = 1.0.0a5 No fix listed
pypi bentoml(PyPI) = 1.0.0a6 No fix listed
pypi bentoml(PyPI) = 1.0.0a7 No fix listed
pypi bentoml(PyPI) = 1.0.0rc0 No fix listed
pypi bentoml(PyPI) = 1.0.0rc1 No fix listed
pypi bentoml(PyPI) = 1.0.0rc2 No fix listed
pypi bentoml(PyPI) = 1.0.0rc3 No fix listed
pypi bentoml(PyPI) = 1.0.10 No fix listed
pypi bentoml(PyPI) = 1.0.11 No fix listed
pypi bentoml(PyPI) = 1.0.12 No fix listed
pypi bentoml(PyPI) = 1.0.13 No fix listed
pypi bentoml(PyPI) = 1.0.14 No fix listed
pypi bentoml(PyPI) = 1.0.15 No fix listed
pypi bentoml(PyPI) = 1.0.16 No fix listed
pypi bentoml(PyPI) = 1.0.17 No fix listed
pypi bentoml(PyPI) = 1.0.18 No fix listed
pypi bentoml(PyPI) = 1.0.19 No fix listed
pypi bentoml(PyPI) = 1.0.2 No fix listed
pypi bentoml(PyPI) = 1.0.20 No fix listed
pypi bentoml(PyPI) = 1.0.21 No fix listed
pypi bentoml(PyPI) = 1.0.22 No fix listed
pypi bentoml(PyPI) = 1.0.23 No fix listed
pypi bentoml(PyPI) = 1.0.24 No fix listed
pypi bentoml(PyPI) = 1.0.25 No fix listed
pypi bentoml(PyPI) = 1.0.3 No fix listed
pypi bentoml(PyPI) = 1.0.4 No fix listed
pypi bentoml(PyPI) = 1.0.5 No fix listed
pypi bentoml(PyPI) = 1.0.6 No fix listed
pypi bentoml(PyPI) = 1.0.7 No fix listed
pypi bentoml(PyPI) = 1.0.8 No fix listed
pypi bentoml(PyPI) = 1.0.9 No fix listed
pypi bentoml(PyPI) = 1.1.0 No fix listed
pypi bentoml(PyPI) = 1.1.1 No fix listed
pypi bentoml(PyPI) = 1.1.10 No fix listed
pypi bentoml(PyPI) = 1.1.11 No fix listed
pypi bentoml(PyPI) = 1.1.2 No fix listed
pypi bentoml(PyPI) = 1.1.3 No fix listed
pypi bentoml(PyPI) = 1.1.4 No fix listed
pypi bentoml(PyPI) = 1.1.5 No fix listed
pypi bentoml(PyPI) = 1.1.6 No fix listed
pypi bentoml(PyPI) = 1.1.7 No fix listed
pypi bentoml(PyPI) = 1.1.8 No fix listed
pypi bentoml(PyPI) = 1.1.9 No fix listed
pypi bentoml(PyPI) = 1.2.0 No fix listed
pypi bentoml(PyPI) = 1.2.0a0 No fix listed
pypi bentoml(PyPI) = 1.2.0a1 No fix listed
pypi bentoml(PyPI) = 1.2.0a2 No fix listed
pypi bentoml(PyPI) = 1.2.0a3 No fix listed
pypi bentoml(PyPI) = 1.2.0a4 No fix listed
pypi bentoml(PyPI) = 1.2.0a5 No fix listed
pypi bentoml(PyPI) = 1.2.0a6 No fix listed
pypi bentoml(PyPI) = 1.2.0a7 No fix listed
pypi bentoml(PyPI) = 1.2.0rc1 No fix listed
pypi bentoml(PyPI) = 1.2.1 No fix listed
pypi bentoml(PyPI) = 1.2.10 No fix listed
pypi bentoml(PyPI) = 1.2.11 No fix listed
pypi bentoml(PyPI) = 1.2.12 No fix listed
pypi bentoml(PyPI) = 1.2.13 No fix listed
pypi bentoml(PyPI) = 1.2.14 No fix listed
pypi bentoml(PyPI) = 1.2.15 No fix listed
pypi bentoml(PyPI) = 1.2.16 No fix listed
pypi bentoml(PyPI) = 1.2.17 No fix listed
pypi bentoml(PyPI) = 1.2.18 No fix listed
pypi bentoml(PyPI) = 1.2.19 No fix listed
pypi bentoml(PyPI) = 1.2.1a1 No fix listed
pypi bentoml(PyPI) = 1.2.2 No fix listed
pypi bentoml(PyPI) = 1.2.20 No fix listed
pypi bentoml(PyPI) = 1.2.3 No fix listed
pypi bentoml(PyPI) = 1.2.4 No fix listed
pypi bentoml(PyPI) = 1.2.5 No fix listed
pypi bentoml(PyPI) = 1.2.6 No fix listed
pypi bentoml(PyPI) = 1.2.7 No fix listed
pypi bentoml(PyPI) = 1.2.8 No fix listed
pypi bentoml(PyPI) = 1.2.9 No fix listed
pypi bentoml(PyPI) = 1.3.0 No fix listed
pypi bentoml(PyPI) = 1.3.0a1 No fix listed
pypi bentoml(PyPI) = 1.3.0a2 No fix listed
pypi bentoml(PyPI) = 1.3.0a3 No fix listed
pypi bentoml(PyPI) = 1.3.1 No fix listed
pypi bentoml(PyPI) = 1.3.10 No fix listed
pypi bentoml(PyPI) = 1.3.11 No fix listed
pypi bentoml(PyPI) = 1.3.12 No fix listed
pypi bentoml(PyPI) = 1.3.13 No fix listed
pypi bentoml(PyPI) = 1.3.14 No fix listed
pypi bentoml(PyPI) = 1.3.15 No fix listed
pypi bentoml(PyPI) = 1.3.16 No fix listed
pypi bentoml(PyPI) = 1.3.17 No fix listed
pypi bentoml(PyPI) = 1.3.18 No fix listed
pypi bentoml(PyPI) = 1.3.19 No fix listed
pypi bentoml(PyPI) = 1.3.2 No fix listed
pypi bentoml(PyPI) = 1.3.20 No fix listed
pypi bentoml(PyPI) = 1.3.21 No fix listed
pypi bentoml(PyPI) = 1.3.22 No fix listed
pypi bentoml(PyPI) = 1.3.3 No fix listed
pypi bentoml(PyPI) = 1.3.4.post1 No fix listed
pypi bentoml(PyPI) = 1.3.5 No fix listed
pypi bentoml(PyPI) = 1.3.6 No fix listed
pypi bentoml(PyPI) = 1.3.7 No fix listed
pypi bentoml(PyPI) = 1.3.8 No fix listed
pypi bentoml(PyPI) = 1.3.9 No fix listed
pypi bentoml(PyPI) = 1.4.0 No fix listed
pypi bentoml(PyPI) = 1.4.0a1 No fix listed
pypi bentoml(PyPI) = 1.4.0a2 No fix listed
pypi bentoml(PyPI) = 1.4.1 No fix listed
pypi bentoml(PyPI) = 1.4.10 No fix listed
pypi bentoml(PyPI) = 1.4.11 No fix listed
pypi bentoml(PyPI) = 1.4.12 No fix listed
pypi bentoml(PyPI) = 1.4.13 No fix listed
pypi bentoml(PyPI) = 1.4.14 No fix listed
pypi bentoml(PyPI) = 1.4.15 No fix listed
pypi bentoml(PyPI) = 1.4.16 No fix listed
pypi bentoml(PyPI) = 1.4.17 No fix listed
pypi bentoml(PyPI) = 1.4.18 No fix listed
pypi bentoml(PyPI) = 1.4.19 No fix listed
pypi bentoml(PyPI) = 1.4.2 No fix listed
pypi bentoml(PyPI) = 1.4.20 No fix listed
pypi bentoml(PyPI) = 1.4.21 No fix listed
pypi bentoml(PyPI) = 1.4.22 No fix listed
pypi bentoml(PyPI) = 1.4.23 No fix listed
pypi bentoml(PyPI) = 1.4.24 No fix listed
pypi bentoml(PyPI) = 1.4.25 No fix listed
pypi bentoml(PyPI) = 1.4.26 No fix listed

References