{"id":"CVE-2026-24123","published":"2026-01-26T22:14:39Z","modified":"2026-01-27T21:37:03Z","title":"BentoML has a Path Traversal via Bentofile Configuration","vendor":"bentoml","product":"BentoML","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00593,"percentile":0.4237,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/bentoml/BentoML/security/advisories/GHSA-6r62-w2q3-48hf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bentoml/BentoML/commit/84d08cfeb40c5f2ce71b3d3444bbaa0fb16b5ca4","tags":["x_refsource_MISC"]},{"url":"https://github.com/bentoml/BentoML/releases/tag/v1.4.34","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":8.47},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"bentoml","affectedVersions":[{"vendor":"bentoml","product":"BentoML","versions":["< 1.4.34"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-27T21:36:54.247534Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"bentoml","vulnerableRanges":["<1.4.34"],"patched":["1.4.34"],"from":["GHSA-6r62-w2q3-48hf","PYSEC-2026-1218"],"provenance":"source"}],"summary":{"text":"BentoML's bentofile.yaml configuration, in versions before 1.4.34, fails to restrict file paths in several fields (description, docker.setup_script, docker.dockerfile_template, and conda.environment_yml), allowing path traversal. An attacker who can get a victim to build a crafted bentofile can read arbitrary files from the filesystem into the resulting bento archive, which requires the victim to take a build action.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:02Z"},"euvd":{"id":"EUVD-2026-4723","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-bentoml-cve-2026-24123","children":[{"from":"CVE-2026-24123","to":"CVE-2026-27905","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:bentoml","fromFixed":"1.4.34","toFixed":"1.4.36","daysApart":36},{"kind":"same-code","provenance":"machine","files":["src/bentoml/_internal/utils/filesystem.py"],"commits":["https://github.com/bentoml/BentoML/commit/84d08cfeb40c5f2ce71b3d3444bbaa0fb16b5ca4","https://github.com/bentoml/BentoML/commit/4e0eb007765ac04c7924220d643f264715cc9670"],"basis":"rarely changed file"}]},{"from":"CVE-2026-24123","to":"CVE-2026-40610","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/bentoml/_internal/bento/bento.py"],"commits":["https://github.com/bentoml/BentoML/commit/84d08cfeb40c5f2ce71b3d3444bbaa0fb16b5ca4","https://github.com/bentoml/BentoML/commit/5fb7cd41f92e2a56b45391284cf15b9ac9963a1f"],"basis":"shared function","functions":["append_model"]}]}],"packageHistory":[{"cve":"CVE-2025-27520","published":"2025-04-04","fixed":"1.4.3","kev":false},{"cve":"CVE-2025-32375","published":"2025-04-09","fixed":"1.4.8","kev":false},{"cve":"CVE-2025-54381","published":"2025-07-29","fixed":"1.4.19","kev":false,"link":{"from":"CVE-2025-54381","to":"CVE-2026-24123","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:bentoml","fromFixed":"1.4.19","toFixed":"1.4.34","daysApart":181}]}},{"cve":"CVE-2026-24123","published":"2026-01-26","fixed":"1.4.34","kev":false},{"cve":"CVE-2026-27905","published":"2026-03-03","fixed":"1.4.36","kev":false},{"cve":"CVE-2026-33744","published":"2026-03-27","fixed":"1.4.37","kev":false},{"cve":"CVE-2026-35043","published":"2026-04-06","fixed":"1.4.38","kev":false}],"package":"PyPI:bentoml"}}