The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-35043

CVE-2026-35043: BentoML Cloud Deployment RCE Vulnerability

CVE-2026-35043 is a remote code execution flaw in BentoML's cloud deployment path that allows attackers to execute arbitrary code on CI/CD infrastructure. This article covers the technical details, affected versions, and mitigation.

Published: April 10, 2026

CVE-2026-35043 Overview

CVE-2026-35043 is a command injection vulnerability in BentoML, a Python library for building online serving systems optimized for AI applications and model inference. The vulnerability exists in the cloud deployment path within src/bentoml/_internal/cloud/deployment.py, which was not included in the fix for a previous related vulnerability (CVE-2026-33744). The flaw allows attackers to execute arbitrary commands on the cloud build infrastructure during deployment.

Critical Impact

Attackers can achieve remote code execution on the CI/CD tier by exploiting improper command string construction in the cloud deployment module, potentially compromising the entire build infrastructure.

Affected Products

  • BentoML versions prior to 1.4.38
  • BentoCloud deployments using vulnerable BentoML versions
  • CI/CD pipelines utilizing BentoML cloud deployment features

Discovery Timeline

  • 2026-04-06 - CVE-2026-35043 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-35043

Vulnerability Analysis

This command injection vulnerability (CWE-78) exists because the system_packages parameter at line 1648 of the deployment module is directly interpolated into a shell command using a Python f-string without proper quoting or sanitization. The generated script is then uploaded to BentoCloud as setup.sh and executed on the cloud build infrastructure during deployment.

The vulnerability is particularly concerning because it affects the CI/CD tier, meaning successful exploitation could lead to compromise of the build infrastructure itself, potentially affecting multiple deployments and introducing supply chain risks.

Root Cause

The root cause is improper neutralization of special elements used in an OS command. The code constructs a shell command by directly inserting user-controllable input (system_packages) into a command string using Python f-string formatting. Without proper escaping, quoting, or input validation, an attacker can inject additional shell commands that will be executed during the deployment process.

This vulnerability represents an incomplete fix for CVE-2026-33744, as the cloud deployment path was overlooked during the initial remediation effort.

Attack Vector

The attack vector requires local access with user interaction. An attacker with the ability to influence the system_packages parameter during BentoML cloud deployment can inject malicious shell commands. When the generated setup.sh script is executed on BentoCloud's build infrastructure, the injected commands will run with the privileges of the build process.

For example, a malicious package name containing shell metacharacters like semicolons, backticks, or command substitution syntax could break out of the intended command context and execute arbitrary code. The attacker could potentially exfiltrate secrets, install backdoors, or modify build artifacts.

For technical details on the vulnerable code path, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-35043

Indicators of Compromise

  • Unusual or unexpected commands in setup.sh scripts uploaded to BentoCloud
  • Anomalous process execution during cloud deployment builds
  • Unexpected network connections from build infrastructure
  • Modified or tampered deployment artifacts

Detection Strategies

  • Monitor BentoML deployment configurations for suspicious system_packages entries containing shell metacharacters (;, |, $(), backticks)
  • Implement logging and alerting on cloud deployment script generation
  • Review deployment logs for unexpected command execution patterns
  • Audit build infrastructure for unauthorized file modifications or process spawning

Monitoring Recommendations

  • Enable comprehensive logging for all BentoCloud deployment activities
  • Monitor for attempts to include shell metacharacters in deployment parameters
  • Implement file integrity monitoring on build infrastructure
  • Set up alerts for unusual outbound network traffic from CI/CD systems

How to Mitigate CVE-2026-35043

Immediate Actions Required

  • Upgrade BentoML to version 1.4.38 or later immediately
  • Audit recent cloud deployments for potentially malicious configurations
  • Review deployment logs for signs of exploitation
  • Temporarily disable cloud deployment features if upgrade is not immediately possible

Patch Information

The vulnerability has been fixed in BentoML version 1.4.38. The fix properly sanitizes the system_packages parameter before interpolation into shell commands. Organizations should update their BentoML installations to version 1.4.38 or later.

For additional details, see the GitHub Security Advisory.

Workarounds

  • If immediate upgrade is not possible, avoid using the cloud deployment feature until patched
  • Implement strict input validation on any user-provided deployment parameters
  • Use allowlisting for system_packages values to prevent injection of malicious content
  • Consider deploying BentoML models through alternative mechanisms that do not use the vulnerable code path
bash
# Upgrade BentoML to the patched version
pip install --upgrade bentoml>=1.4.38

# Verify the installed version
pip show bentoml | grep 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 Score7.8

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/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-35044: BentoML Template Injection RCE Vulnerability

  • CVE-2026-33744: BentoML RCE Vulnerability

  • CVE-2024-9070: BentoML Deserialization RCE Vulnerability

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

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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