Skip to main content
← All vulnerabilities
CVE-2026-24123PYSEC-2026-1218GHSA-6R62-W2Q3-48HF

BentoML has a Path Traversal via Bentofile Configuration

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.4.34
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • bentoml BentoML

    fixed in 1.4.34

  • bentomlPyPI

    fixed in 1.4.34

References 3

GitHub · bentoml/BentoML