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

CVE-2026-44340: Praison Praisonai Path Traversal Flaw

CVE-2026-44340 is a path traversal vulnerability in Praison Praisonai that allows attackers to write arbitrary files through symlink exploitation. This article covers technical details, affected versions, and mitigations.

Published: May 18, 2026

CVE-2026-44340 Overview

CVE-2026-44340 is a path traversal vulnerability in PraisonAI, a multi-agent teams system maintained by MervinPraison. The flaw resides in the _safe_extractall helper used by the recipe pull, recipe publish, and recipe unpack flows. The helper validates archive member names for absolute paths and .. segments but ignores symbolic and hard link metadata. A crafted bundle can plant a symlink inside the destination directory whose linkname points outside it, then write a regular file through that symlink to an attacker-chosen filesystem location. The issue affects all versions prior to 4.6.37 and is tracked under CWE-22.

Critical Impact

Remote attackers can write arbitrary files to attacker-controlled paths on the victim's filesystem when a malicious recipe archive is processed, enabling integrity compromise and code execution paths through overwritten configuration or executable files.

Affected Products

  • PraisonAI versions prior to 4.6.37
  • The recipe pull command flow
  • The recipe publish and recipe unpack command flows

Discovery Timeline

  • 2026-05-08 - CVE-2026-44340 published to NVD
  • 2026-05-08 - Last updated in NVD database
  • Fix released - PraisonAI version 4.6.37 patches the vulnerability

Technical Details for CVE-2026-44340

Vulnerability Analysis

The vulnerability is a classic symlink-assisted path traversal in tar archive extraction. PraisonAI's _safe_extractall helper inspects each archive entry's name attribute and rejects absolute paths, parent-directory traversal sequences, and resolved paths that escape dest_dir. The check is incomplete because it never inspects member.linkname, never rejects SYMTYPE or LNKTYPE members, and invokes tar.extractall(dest_dir) without the Python 3.12+ filter="data" safeguard.

An attacker builds a tar bundle containing two ordered entries. The first is a symbolic link whose name is a benign-looking path inside dest_dir, but whose linkname resolves to an arbitrary location on the host, for example /etc or a user's ~/.ssh directory. The second is a regular file whose path traverses through the just-created symlink. When extractall writes the file, the operating system follows the symlink and the content lands outside the sandbox.

Root Cause

The root cause is incomplete input validation [CWE-22]. The _safe_extractall filter only normalizes the name field of each TarInfo object. Link targets are trusted, and the extraction call does not opt into Python's tarfile data filter, which would block link members pointing outside the extraction root.

Attack Vector

Exploitation requires the victim to fetch or unpack an attacker-controlled recipe archive through any of the three vulnerable flows. No authentication is required against the victim host because the malicious payload travels inside a legitimate recipe bundle. Successful writes can target shell startup files, cron entries, Python site-packages, or application configuration to achieve code execution under the user running PraisonAI.

No public proof-of-concept exploit code is currently available. See the GitHub Security Advisory GHSA-9q28-ghcr-c4x3 for the maintainer's technical description.

Detection Methods for CVE-2026-44340

Indicators of Compromise

  • Unexpected symbolic links inside recipe extraction directories whose targets point outside the destination root.
  • Modifications to sensitive files such as ~/.ssh/authorized_keys, ~/.bashrc, cron tables, or Python site-packages immediately after a recipe pull or recipe unpack operation.
  • Recipe archives sourced from untrusted registries or pull requests containing SYMTYPE or LNKTYPE tar entries.

Detection Strategies

  • Inspect recipe tar bundles before processing with tar -tvf <archive> and reject any archive containing link entries whose targets resolve outside the intended directory.
  • Monitor processes spawned by PraisonAI for writes to paths outside the configured recipe workspace.
  • Audit installed PraisonAI versions across hosts and flag any release older than 4.6.37.

Monitoring Recommendations

  • Enable filesystem auditing (auditd, EDR file telemetry) on directories that should never be written to by the PraisonAI process user.
  • Log all recipe pull, recipe publish, and recipe unpack invocations with the resolved archive source URL.
  • Alert on creation of symbolic links by the PraisonAI process where the link target lies outside the recipe working directory.

How to Mitigate CVE-2026-44340

Immediate Actions Required

  • Upgrade PraisonAI to version 4.6.37 or later on every host that runs recipe commands.
  • Audit recently extracted recipe archives for symlinks pointing outside the expected destination directory and remove any unauthorized files written outside it.
  • Restrict recipe sources to trusted, signed registries until the upgrade completes.

Patch Information

The maintainer patched the issue in PraisonAI version 4.6.37 by hardening _safe_extractall to reject symlink and hardlink members and to validate linkname resolution against the destination directory. Details are published in the GitHub Security Advisory GHSA-9q28-ghcr-c4x3.

Workarounds

  • Run PraisonAI under a dedicated, low-privilege user account whose write permissions are confined to the recipe workspace.
  • Execute recipe extraction inside an ephemeral container or sandbox with no access to sensitive host paths.
  • Pre-screen incoming archives and strip any entries with linkname targets that resolve outside the extraction directory before invoking PraisonAI.
bash
# Upgrade PraisonAI to the patched release
pip install --upgrade "praisonai>=4.6.37"

# Verify the installed version
python -c "import praisonai; print(praisonai.__version__)"

: 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.7

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-39307: 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