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-39307

CVE-2026-39307: Praison Praisonai Path Traversal Flaw

CVE-2026-39307 is a path traversal vulnerability in Praison Praisonai that allows Zip Slip attacks during template extraction. This article covers the technical details, affected versions, impact, and mitigation steps.

Updated: May 14, 2026

CVE-2026-39307 Overview

CVE-2026-39307 is a Zip Slip path traversal vulnerability in PraisonAI, a multi-agent teams system maintained by MervinPraison. Versions prior to 1.5.113 are affected. The flaw exists in the templates installation feature, which downloads and extracts archives from external sources such as GitHub. The application invokes Python's zipfile.extractall() without validating whether archive entries resolve outside the intended extraction directory. Attackers can craft a malicious template archive containing entries with ../ path traversal sequences to write arbitrary files anywhere the PraisonAI process has write access. The issue is fixed in version 1.5.113.

Critical Impact

Arbitrary file write outside the extraction directory can lead to remote code execution by overwriting configuration files, Python modules, or startup scripts on the host running PraisonAI.

Affected Products

  • PraisonAI versions prior to 1.5.113
  • Component: praison:praisonai
  • Vendor: Praison (MervinPraison)

Discovery Timeline

  • 2026-04-07 - CVE-2026-39307 published to NVD
  • 2026-04-16 - Last updated in NVD database

Technical Details for CVE-2026-39307

Vulnerability Analysis

The vulnerability is classified as a path traversal weakness [CWE-22]. PraisonAI's template installation workflow retrieves ZIP archives from external repositories and extracts them locally. The extraction routine relies on Python's zipfile.extractall() without sanitizing or validating archive member names.

A malicious archive can include entries with relative path components such as ../../etc/cron.d/payload or absolute paths. When extracted, these entries are written outside the target directory. This pattern is commonly referred to as Zip Slip and was originally documented by Snyk in 2018.

The vulnerability requires user interaction. A victim must invoke the template installation feature against an attacker-controlled archive. No authentication is required against the PraisonAI instance itself. The impact is limited to integrity and availability, with no direct confidentiality exposure noted in the advisory.

Root Cause

The root cause is the unsafe use of zipfile.extractall() on untrusted archives. Python's standard library does not validate that resolved member paths stay within the destination directory. Developers must implement that check explicitly, typically by resolving each member against the target directory and rejecting paths that escape it.

Attack Vector

An attacker hosts a crafted template archive on a public source such as GitHub. The attacker convinces a PraisonAI user to install the template through the standard installation feature. During extraction, archive entries with traversal sequences are written to attacker-chosen locations. Overwriting Python source files imported by PraisonAI, shell startup files, or scheduled task definitions can achieve arbitrary code execution under the user account running the application.

No verified public proof-of-concept code is available. See the GitHub Security Advisory GHSA-4ph2-f6pf-79wv for the maintainer's technical description.

Detection Methods for CVE-2026-39307

Indicators of Compromise

  • Unexpected files appearing outside the PraisonAI templates directory after a template install operation
  • Modified or newly created files in sensitive paths such as ~/.bashrc, ~/.ssh/authorized_keys, /etc/cron.d/, or Python site-packages directories with timestamps matching template installation events
  • PraisonAI log entries referencing template downloads from untrusted or unknown repositories

Detection Strategies

  • Inventory installed PraisonAI versions and flag any instance running below 1.5.113
  • Inspect ZIP archives retrieved by the templates feature for entries containing .. segments or absolute paths before extraction
  • Audit filesystem changes correlated with the PraisonAI process to identify writes outside the expected extraction directory

Monitoring Recommendations

  • Enable file integrity monitoring on user home directories, cron directories, and Python package directories on hosts running PraisonAI
  • Log all outbound requests from PraisonAI to archive hosting services and alert on downloads from non-allowlisted sources
  • Track process activity for python processes invoking zipfile operations followed by writes to unrelated paths

How to Mitigate CVE-2026-39307

Immediate Actions Required

  • Upgrade PraisonAI to version 1.5.113 or later on all hosts
  • Restrict template installation to archives sourced from trusted, internally controlled repositories until the upgrade is complete
  • Run PraisonAI under a dedicated low-privilege account with write access limited to its working directories

Patch Information

The maintainer released a fix in PraisonAI 1.5.113. The patch validates that each archive member resolves inside the intended extraction directory before writing. Refer to the GitHub Security Advisory GHSA-4ph2-f6pf-79wv for commit details and release notes.

Workarounds

  • Disable the templates installation feature in environments that cannot immediately upgrade
  • Pre-screen template archives by listing contents with unzip -l and rejecting any archive containing .. or absolute paths
  • Execute PraisonAI inside a container or sandbox with a read-only root filesystem and a narrowly scoped writable volume
bash
# Inspect a template archive for traversal entries before installation
unzip -l suspicious-template.zip | awk '{print $4}' | grep -E '(^/|\.\./)'

# Upgrade PraisonAI to the patched release
pip install --upgrade 'praisonai>=1.5.113'

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechPraison

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-44340: Praison Praisonai Path Traversal Flaw

  • CVE-2026-44336: Praison Praisonai RCE Vulnerability

  • CVE-2026-41496: Praison Praisonai SQLi Vulnerability

  • CVE-2026-44339: Praison PraisonAI 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