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
    • 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-34955

CVE-2026-34955: Praison Praisonai RCE Vulnerability

CVE-2026-34955 is a remote code execution flaw in Praison Praisonai that allows sandbox escape via shell command injection. This post explains the technical details, affected versions, impact, and mitigation steps.

Updated: May 15, 2026

CVE-2026-34955 Overview

CVE-2026-34955 is a command injection vulnerability in PraisonAI, a multi-agent teams system maintained by MervinPraison. Versions prior to 4.5.97 ship a SubprocessSandbox that invokes subprocess.run() with shell=True across all execution modes, including BASIC, STRICT, and NETWORK_ISOLATED. The sandbox relies on string-pattern matching to block dangerous commands but omits sh and bash as standalone executables from the blocklist. Attackers can escape the sandbox in STRICT mode by invoking sh -c '<command>', gaining arbitrary command execution on the host. The flaw maps to [CWE-78] OS Command Injection.

Critical Impact

Network-reachable attackers can execute arbitrary operating system commands on hosts running PraisonAI, bypassing all sandbox modes and compromising confidentiality, integrity, and availability.

Affected Products

  • PraisonAI versions prior to 4.5.97
  • SubprocessSandbox component in BASIC, STRICT, and NETWORK_ISOLATED modes
  • Deployments exposing PraisonAI agent execution to untrusted input

Discovery Timeline

  • 2026-04-04 - CVE-2026-34955 published to NVD
  • 2026-04-14 - Last updated in NVD database

Technical Details for CVE-2026-34955

Vulnerability Analysis

The vulnerability resides in the SubprocessSandbox class, which is responsible for executing agent-generated commands under restricted policies. The sandbox invokes subprocess.run() with the shell=True argument, meaning the supplied command string is interpreted by the system shell rather than executed as a discrete argv list. To enforce restrictions, the sandbox compares the command string against a blocklist of dangerous binaries and patterns. This approach assumes the blocklist enumerates every shell interpreter available on the host.

The STRICT mode is intended to be the most restrictive policy, blocking destructive utilities and network commands. However, the blocklist does not enumerate sh or bash as standalone executables. An attacker supplying sh -c '<command>' passes the pattern check while spawning a new shell that executes any payload the attacker chooses. The same bypass succeeds in BASIC and NETWORK_ISOLATED modes.

Root Cause

The root cause is twofold. First, using shell=True exposes shell metacharacter parsing to untrusted input. Second, the deny-list design is incomplete and cannot enumerate every interpreter, alias, or path variant that yields shell execution. Allow-listing specific binaries with shell=False would eliminate the class of bypass entirely.

Attack Vector

Exploitation requires the attacker to influence the command string passed to SubprocessSandbox. In agentic deployments, this input is typically reachable through prompts, tool outputs, or upstream API calls processed by the agent. A payload of the form sh -c 'id; cat /etc/passwd' survives the blocklist and executes under the privileges of the PraisonAI process. From there, attackers can establish persistence, exfiltrate secrets, or pivot to adjacent systems.

No verified public exploit code is available. See the GitHub Security Advisory GHSA-r4f2-3m54-pp7q for the maintainer's analysis.

Detection Methods for CVE-2026-34955

Indicators of Compromise

  • Process trees showing the PraisonAI Python interpreter spawning sh -c or bash -c child processes with attacker-controlled argument strings.
  • Outbound network connections from the PraisonAI host to unexpected destinations following agent task execution.
  • Filesystem writes under PraisonAI working directories containing reconnaissance output such as /etc/passwd contents or environment dumps.

Detection Strategies

  • Hunt for child processes of PraisonAI where the command line matches sh -c or bash -c and was not initiated by an authorized operator.
  • Inspect application logs for sandboxed command strings containing sh, bash, dash, or zsh tokens prior to version 4.5.97.
  • Correlate agent prompt logs with subsequent subprocess executions to identify prompt-injected command payloads.

Monitoring Recommendations

  • Enable verbose subprocess auditing on hosts running PraisonAI using auditd rules on execve syscalls.
  • Forward agent execution telemetry and host process events to a centralized analytics platform for retroactive hunting.
  • Alert on any PraisonAI-initiated network egress to non-allowlisted destinations, particularly when NETWORK_ISOLATED mode is configured.

How to Mitigate CVE-2026-34955

Immediate Actions Required

  • Upgrade PraisonAI to version 4.5.97 or later on all hosts.
  • Audit agent prompts, tool definitions, and upstream inputs for evidence of sh -c or bash -c injection attempts.
  • Rotate any credentials, API tokens, or signing keys accessible to the PraisonAI process if compromise is suspected.

Patch Information

The maintainer fixed the issue in PraisonAI 4.5.97. Review the GitHub Security Advisory GHSA-r4f2-3m54-pp7q for the patch details and release notes before upgrading production deployments.

Workarounds

  • If immediate patching is not possible, disable the SubprocessSandbox execution path or restrict it to trusted operators only.
  • Run PraisonAI inside an unprivileged container with a read-only filesystem and a strict egress policy to contain successful exploitation.
  • Apply a host-level seccomp or AppArmor profile that denies execution of shell interpreters by the PraisonAI service account.
bash
# Configuration example: upgrade PraisonAI to the patched release
pip install --upgrade 'praisonai>=4.5.97'
python -c "import praisonai; print(praisonai.__version__)"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPraison

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-44336: Praison Praisonai RCE Vulnerability

  • CVE-2026-44339: Praison PraisonAI RCE Vulnerability

  • CVE-2026-41497: Praison Praisonai RCE Vulnerability

  • CVE-2026-41496: Praison Praisonai SQLi 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