CVE-2026-24123
Bentoml vulnerability
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.
Affected products
Bentoml. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Bentoml runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/bentoml/BentoML/security/advisories/GHSA-6r62-w2q3-48hf · Vendor Advisory
- github.com/bentoml/BentoML/commit/84d08cfeb40c5f2ce71b3d3444bbaa0fb16b5ca4 · Patch
- github.com/bentoml/BentoML/releases/tag/v1.4.34
- nvd.nist.gov/vuln/detail/CVE-2026-24123
- github.com/advisories/GHSA-6r62-w2q3-48hf
- nvd.nist.gov/vuln/detail/CVE-2026-24123
- cve.org/CVERecord?id=CVE-2026-24123
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.