CVE-2026-24123CWE-22

BentoML has a Path Traversal via Bentofile Configuration

High · published January 26, 2026

CVSS v3.1
7.4
EPSS
0%
Percentile
41.3
In the wild
Unconfirmed
What it is

⚡ Path traversal is lurking in BentoML's configuration! An attacker can sneak sensitive files right into your bento archive with a cleverly crafted configuration before you even realize it! 🔥 Think of it like a sneaky delivery driver who modifies their delivery instructions to grab your important packages from the back office instead of the front door. When they send the package, you unknowingly receive all those sensitive documents you didn’t ask for! This vulnerability could lead to an attacker exfiltrating critical files from your filesystem, including SSH keys and credentials. Imagine pushing a bento that silently embeds sensitive information and exposing it when deployed. The consequences could be mind-blowingly disastrous!

Put simply

Think of it like a sneaky delivery driver who modifies their delivery instructions to grab your important packages from the back office instead of the front door. When they send the package, you unknowingly receive all those sensitive documents you didn’t ask for! Prior to version 1.4.34, BentoML's `bentofile.yaml` configuration allowed path traversal through multiple file path fields, enabling attackers to craft malicious configurations that could exfiltrate arbitrary files into the bento archive.

What to do

This vulnerability could lead to an attacker exfiltrating critical files from your filesystem, including SSH keys and credentials. Imagine pushing a bento that silently embeds sensitive information and exposing it when deployed. The consequences could be mind-blowingly disastrous! Upgrade to BentoML version 1.4.34 or later immediately to patch this vulnerability. Additionally, review existing configurations for any signs of unauthorized modifications and implement monitoring for unusual file access patterns. You’ve got this! With a quick upgrade, you'll lock down your BentoML setup and keep those sneaky attackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
7.4 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00491 · 41.3th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-01-26T22:14Z
EPSS history
Timeline
  • 26 JAN 22:14Z
    BentoML has a Path Traversal via Bentofile Configuration
    cvelistv5