A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-44346

CVE-2026-44346: BentoML RCE Vulnerability

CVE-2026-44346 is a remote code execution flaw in BentoML that allows attackers to execute code during Docker build via malicious bentofile.yaml. This post covers technical details, affected versions, and mitigations.

Published: May 28, 2026

CVE-2026-44346 Overview

CVE-2026-44346 is a command injection vulnerability in BentoML, a Python library for building online serving systems for AI applications and model inference. The flaw exists in versions prior to 1.4.39. A malicious bentofile.yaml containing a newline-injected value in the envs[*].name field produces unquoted RUN directives in the BentoML-generated Dockerfile. When a victim runs bentoml containerize on the imported bento, those injected RUN directives execute on the host during docker build. The vulnerability is fixed in BentoML 1.4.39.

Critical Impact

Attackers can achieve arbitrary command execution on a victim's build host by tricking them into containerizing a malicious bento, leading to full host compromise during the Docker build process.

Affected Products

  • BentoML versions prior to 1.4.39
  • Build hosts running bentoml containerize on attacker-supplied bentos
  • CI/CD pipelines that automate BentoML containerization workflows

Discovery Timeline

  • 2026-05-27 - CVE-2026-44346 published to NVD
  • 2026-05-27 - Last updated in NVD database

Technical Details for CVE-2026-44346

Vulnerability Analysis

The vulnerability is classified under [CWE-78] Improper Neutralization of Special Elements used in an OS Command. BentoML generates Dockerfiles from user-supplied bentofile.yaml configurations. The envs[*].name field accepts environment variable names that are interpolated directly into Dockerfile RUN directives without proper quoting or sanitization.

When an attacker injects newline characters into a name value, the generated Dockerfile contains additional unquoted RUN lines under the attacker's control. These injected directives execute during docker build, granting code execution in the build environment.

Exploitation requires user interaction. The victim must import a malicious bento and execute bentoml containerize against it. This pattern frequently arises in machine learning workflows that share bentos across teams or pull them from registries.

Root Cause

The root cause is insufficient input validation and missing output encoding when serializing bentofile.yaml environment variable definitions into Dockerfile directives. BentoML did not reject or escape newline characters in envs[*].name, allowing the YAML structure to break out of its intended Dockerfile context.

Attack Vector

An attacker crafts a bentofile.yaml with a newline-injected value in envs[*].name. The attacker distributes the malicious bento through a model registry, repository, or direct file transfer. When the victim runs bentoml containerize against the bento, BentoML emits a Dockerfile containing the attacker's injected RUN commands. The subsequent docker build executes the injected commands on the host with the privileges of the user running the build.

The vulnerability description and advisory do not include verified proof-of-concept code. See the BentoML GitHub Security Advisory GHSA-w2pm-x38x-jp44 for technical details.

Detection Methods for CVE-2026-44346

Indicators of Compromise

  • Generated Dockerfiles containing unexpected RUN directives not declared in the source bentofile.yaml
  • bentofile.yaml files with multi-line or newline-containing values in envs[*].name fields
  • Unexpected child processes spawned by docker build during a bentoml containerize operation
  • Outbound network connections originating from container build hosts during BentoML builds

Detection Strategies

  • Statically scan bentofile.yaml files for control characters, newlines, or shell metacharacters in envs entries before importing third-party bentos
  • Diff BentoML-generated Dockerfiles against expected templates to identify injected RUN directives
  • Monitor BentoML versions deployed across developer workstations and CI runners and flag any below 1.4.39

Monitoring Recommendations

  • Log all invocations of bentoml containerize in CI/CD pipelines with the source bento identifier and SHA
  • Alert on process executions and outbound connections from Docker build contexts that deviate from baseline build behavior
  • Track introduction of new or unsigned bentos into internal model registries and require review before containerization

How to Mitigate CVE-2026-44346

Immediate Actions Required

  • Upgrade BentoML to version 1.4.39 or later on all development workstations, CI/CD runners, and build servers
  • Audit existing bentofile.yaml files and Dockerfile artifacts for injected RUN directives
  • Restrict execution of bentoml containerize to bentos that originate from trusted, internally reviewed sources

Patch Information

BentoML version 1.4.39 fixes the vulnerability by properly handling and validating values supplied in envs[*].name. Refer to the BentoML GitHub Security Advisory GHSA-w2pm-x38x-jp44 for the official patch reference and release notes.

Workarounds

  • Validate every bentofile.yaml before import and reject values containing newline or shell metacharacters in envs[*].name
  • Run bentoml containerize inside isolated, ephemeral build environments with no access to production secrets or networks
  • Require signed bentos and enforce code review for any third-party or externally supplied bento before containerization
bash
# Upgrade BentoML to the patched release
pip install --upgrade 'bentoml>=1.4.39'

# Verify the installed version
bentoml --version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechBentoml

  • SeverityHIGH

  • CVSS Score8.8

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-44345: BentoML Dockerfile Injection RCE Vulnerability

  • CVE-2026-35043: BentoML Cloud Deployment RCE Vulnerability

  • CVE-2026-35044: BentoML Template Injection RCE Vulnerability

  • CVE-2026-33744: BentoML RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English