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

CVE-2026-39308: PraisonAI Path Traversal Vulnerability

CVE-2026-39308 is a path traversal flaw in PraisonAI's recipe registry that allows attackers to write files outside the configured root directory. This article covers the technical details, affected versions, and mitigation.

Published: April 10, 2026

CVE-2026-39308 Overview

CVE-2026-39308 is a path traversal vulnerability in PraisonAI, a multi-agent teams system. Prior to version 1.5.113, PraisonAI's recipe registry publish endpoint writes uploaded recipe bundles to a filesystem path derived from the bundle's internal manifest.json before verifying that the manifest name and version match the HTTP route. A malicious publisher can place ../ traversal sequences in the bundle manifest and cause the registry server to create files outside the configured registry root, even though the request is ultimately rejected with HTTP 400.

Critical Impact

This arbitrary file write vulnerability allows attackers to write malicious files to arbitrary locations on the registry host filesystem, potentially leading to code execution, configuration tampering, or system compromise.

Affected Products

  • PraisonAI versions prior to 1.5.113
  • Deployments exposing the recipe registry publish flow
  • Registry instances running without token authentication or with publish access granted

Discovery Timeline

  • 2026-04-07 - CVE-2026-39308 published to NVD
  • 2026-04-09 - Last updated in NVD database

Technical Details for CVE-2026-39308

Vulnerability Analysis

This vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory) exists due to improper input validation in the recipe registry publish endpoint. The registry server processes uploaded recipe bundles by extracting the path from the bundle's internal manifest.json file and using this path to write the bundle to the filesystem. The critical flaw is that the server writes the files before performing validation checks on whether the manifest name and version match the HTTP route parameters.

An attacker can craft a malicious recipe bundle containing path traversal sequences such as ../ within the manifest.json file. When uploaded, the server will write the bundle contents to a location outside the intended registry root directory before the validation check rejects the request with an HTTP 400 error. This creates a time-of-check time-of-use (TOCTOU) issue where the malicious file write has already completed by the time the validation fails.

The vulnerability affects all deployments that expose the recipe registry publish flow. If the registry is configured without token authentication, any network client that can reach the service can exploit this vulnerability. Even when token authentication is enabled, any user with publish access can still trigger the arbitrary file write.

Root Cause

The root cause is improper ordering of operations in the publish endpoint. The application writes files to the filesystem based on user-controlled input from the manifest.json before performing validation to ensure the manifest values are safe and match the expected route parameters. The lack of proper path canonicalization and traversal sequence filtering before file write operations allows attackers to escape the configured registry root directory.

Attack Vector

The attack is conducted over the network and requires low privileges. An attacker with network access to the recipe registry service can exploit this vulnerability by:

  1. Crafting a malicious recipe bundle with path traversal sequences (e.g., ../../etc/cron.d/malicious) in the manifest.json file
  2. Uploading the malicious bundle to the registry publish endpoint
  3. The server writes the bundle contents to the traversed path before validating the manifest
  4. Even though the request returns HTTP 400, the malicious file has already been written to the target location

The vulnerability is exploitable without user interaction. For technical details on the vulnerability, see the GitHub Security Advisory.

Detection Methods for CVE-2026-39308

Indicators of Compromise

  • Unexpected files appearing outside the configured recipe registry root directory
  • Web server logs showing HTTP 400 responses to publish endpoint requests with suspicious bundle names
  • File system activity in sensitive directories (e.g., /etc/cron.d/, /var/www/, application directories) originating from the registry server process
  • Malformed manifest.json files containing ../ sequences in recipe bundles

Detection Strategies

  • Monitor file system write operations from the PraisonAI registry process for attempts to write outside the registry root
  • Implement web application firewall rules to detect and block requests containing path traversal patterns in uploaded bundles
  • Review web server access logs for repeated HTTP 400 responses to the recipe publish endpoint
  • Deploy file integrity monitoring on critical system directories to detect unauthorized file creation

Monitoring Recommendations

  • Enable detailed logging for the recipe registry publish endpoint to capture all upload attempts and validation failures
  • Set up alerts for any file write operations by the registry service to directories outside the expected registry root path
  • Monitor for creation of executable files or configuration files in system directories
  • Implement real-time log analysis to detect patterns of exploitation attempts

How to Mitigate CVE-2026-39308

Immediate Actions Required

  • Upgrade PraisonAI to version 1.5.113 or later immediately
  • If immediate upgrade is not possible, disable or restrict access to the recipe registry publish endpoint
  • Implement network-level access controls to limit which hosts can reach the registry service
  • Review file systems for any evidence of exploitation and remove unauthorized files

Patch Information

The vulnerability is fixed in PraisonAI version 1.5.113. The patch ensures that manifest validation occurs before any file write operations, preventing path traversal sequences from being used to write files outside the configured registry root. Organizations should update to this version or later as soon as possible.

For additional details, refer to the GitHub Security Advisory for GHSA-r9x3-wx45-2v7f.

Workarounds

  • Disable the recipe registry publish endpoint if not required for your deployment
  • Implement strict network access controls to limit publish access to trusted hosts only
  • Require token authentication and restrict publish tokens to only verified, trusted users
  • Deploy the registry service in a containerized environment with restricted filesystem access to limit the impact of potential exploitation
bash
# Example: Restrict network access to recipe registry using iptables
# Allow only specific trusted IP ranges to access the registry port
iptables -A INPUT -p tcp --dport 8080 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 8080 -j DROP

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechPraisonai

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-35615: PraisonAI Path Traversal Vulnerability

  • CVE-2026-39306: PraisonAI Path Traversal Vulnerability

  • CVE-2026-39307: PraisonAI Path Traversal Vulnerability

  • CVE-2026-39305: PraisonAI Path Traversal 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