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

CVE-2026-39981: AGiXT Path Traversal Vulnerability

CVE-2026-39981 is a path traversal flaw in AGiXT that allows authenticated attackers to read, write, or delete arbitrary files on the server. This post covers the technical details, affected versions, and mitigation.

Published: April 9, 2026

CVE-2026-39981 Overview

CVE-2026-39981 is a path traversal vulnerability in AGiXT, a dynamic AI Agent Automation Platform. Prior to version 1.9.2, the safe_join() function in the essential_abilities extension fails to validate that resolved file paths remain within the designated agent workspace. An authenticated attacker can use directory traversal sequences to read, write, or delete arbitrary files on the server hosting the AGiXT instance.

Critical Impact

Authenticated attackers can escape the agent workspace directory to access, modify, or delete arbitrary files on the server, potentially leading to sensitive data exposure, system compromise, or complete loss of data integrity.

Affected Products

  • AGiXT versions prior to 1.9.2
  • AGiXT essential_abilities extension

Discovery Timeline

  • April 9, 2026 - CVE-2026-39981 published to NVD
  • April 9, 2026 - Last updated in NVD database

Technical Details for CVE-2026-39981

Vulnerability Analysis

This directory traversal vulnerability (CWE-22) exists in the safe_join() function within AGiXT's essential_abilities extension. The vulnerable function is designed to safely join file paths together within the agent's working directory, but the implementation prior to version 1.9.2 fails to properly validate that the resulting path remains confined to the intended workspace.

The original implementation used os.path.normpath() to normalize paths, which handles some path manipulation attempts but does not resolve symbolic links or fully prevent directory traversal attacks. An attacker with authenticated access to an AGiXT instance can craft malicious path inputs containing sequences like ../ to escape the designated workspace and access files anywhere on the server filesystem that the AGiXT process has permissions to read, write, or delete.

Root Cause

The vulnerability stems from insufficient path validation in the safe_join() function. The original code used os.path.normpath() for path normalization, which normalizes the path syntactically but does not resolve symbolic links. This means an attacker could use directory traversal sequences (../) that survive normalization but still escape the intended directory boundary. The function lacked any verification that the final resolved path remained within the WORKING_DIRECTORY boundary.

Attack Vector

An authenticated attacker can exploit this vulnerability over the network by providing specially crafted path inputs to any AGiXT functionality that utilizes the safe_join() function. The attack requires no user interaction and can be performed with low-privilege authenticated access. By including directory traversal sequences in the path parameter, an attacker can:

  1. Read sensitive configuration files, credentials, or application data
  2. Overwrite critical system or application files
  3. Delete files to cause denial of service or disrupt operations
python
# Security patch in agixt/extensions/essential_abilities.py - v1.9.2
 
     def safe_join(self, paths) -> str:
         """
-        Safely join paths together
+        Safely join paths together, ensuring the result stays within
+        the agent's WORKING_DIRECTORY to prevent path traversal attacks.
 
         Args:
         paths (str): The paths to join
 
         Returns:
         str: The joined path
+
+        Raises:
+        PermissionError: If the resolved path escapes WORKING_DIRECTORY
         """
         if "/path/to/" in paths:
             paths = paths.replace("/path/to/", "")
-        new_path = os.path.normpath(
-            os.path.join(self.WORKING_DIRECTORY, *paths.split("/"))
+        # Use realpath (not just normpath) to resolve symlinks and ..
+        base = os.path.realpath(self.WORKING_DIRECTORY)
+        new_path = os.path.realpath(
+            os.path.normpath(os.path.join(self.WORKING_DIRECTORY, *paths.split("/")))
         )
+        # Verify the resolved path is within the workspace
+        if not (new_path.startswith(base + os.sep) or new_path == base):
+            raise PermissionError(
+                f"Path traversal detected: refusing to access path outside workspace"
+            )

Source: GitHub Commit Update

Detection Methods for CVE-2026-39981

Indicators of Compromise

  • Unexpected file access attempts or modifications outside the AGiXT agent workspace directories
  • Log entries showing path traversal sequences (../, ..%2f, etc.) in file operation requests
  • Unusual file read/write operations targeting sensitive system files like /etc/passwd, configuration files, or credential stores
  • Error logs indicating PermissionError exceptions after patching, which may reveal ongoing exploitation attempts

Detection Strategies

  • Implement file integrity monitoring (FIM) on critical system files and AGiXT configuration directories
  • Monitor AGiXT application logs for suspicious path patterns containing directory traversal sequences
  • Deploy web application firewalls (WAF) with rules to detect path traversal attempts in HTTP requests
  • Audit file system access logs for the AGiXT process accessing files outside expected workspace directories

Monitoring Recommendations

  • Enable verbose logging for AGiXT file operations and agent activities
  • Configure SIEM alerts for directory traversal patterns in application logs
  • Monitor for unexpected network connections or data exfiltration from the AGiXT server
  • Implement anomaly detection for file access patterns by the AGiXT service account

How to Mitigate CVE-2026-39981

Immediate Actions Required

  • Upgrade AGiXT to version 1.9.2 or later immediately
  • Review file access logs for any evidence of exploitation prior to patching
  • Audit files accessible by the AGiXT process for unauthorized modifications
  • Restrict file system permissions for the AGiXT service account to minimum required access

Patch Information

The vulnerability is fixed in AGiXT version 1.9.2. The patch implements proper path validation by using os.path.realpath() instead of just os.path.normpath() to resolve symbolic links and canonicalize paths. Additionally, the fix adds boundary checking to verify that the resolved path remains within the WORKING_DIRECTORY before allowing file operations.

For detailed patch information, refer to:

  • GitHub Security Advisory GHSA-5gfj-64gh-mgmw
  • GitHub Release v1.9.2
  • GitHub Commit Update

Workarounds

  • If immediate patching is not possible, restrict network access to the AGiXT instance to trusted users only
  • Implement additional access controls at the filesystem level to limit what files the AGiXT process can access
  • Deploy a reverse proxy with input validation to filter path traversal sequences before reaching AGiXT
  • Consider running AGiXT in a containerized environment with restricted filesystem mounts
bash
# Configuration example
# Run AGiXT in a containerized environment with restricted filesystem access
docker run --read-only \
  --mount type=bind,source=/opt/agixt/workspace,target=/workspace \
  --security-opt no-new-privileges:true \
  agixt/agixt:1.9.2

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechAgixt

  • SeverityHIGH

  • CVSS Score8.8

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Commit Update

  • GitHub Release v1.9.2

  • GitHub Security Advisory GHSA-5gfj-64gh-mgmw
  • Latest CVEs
  • CVE-2026-46333: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-2586: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-2587: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-45255: FreeBSD bsdinstall/bsdconfig RCE Flaw
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