A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-8754

CVE-2026-8754: AstrBot Path Traversal Vulnerability

CVE-2026-8754 is a path traversal vulnerability in AstrBotDevs AstrBot affecting versions up to 4.23.5. Attackers can exploit the file upload handler remotely. This article covers technical details, impact, and mitigation.

Published: May 21, 2026

CVE-2026-8754 Overview

CVE-2026-8754 is a path traversal vulnerability [CWE-22] in AstrBotDevs AstrBot through version 4.23.5. The flaw resides in the post_file function within astrbot/dashboard/routes/chat.py, part of the File Upload Handler component. Attackers can manipulate the filename argument to write files outside the intended upload directory. The vulnerability is remotely exploitable and requires only low-level authenticated privileges. A public exploit has been disclosed via GitHub Gist. The AstrBot maintainers addressed the issue in version 4.23.6 with commit aaec41e5054569ceaa1113593a34da7568e2d211.

Critical Impact

Authenticated remote attackers can traverse directories during file uploads, potentially overwriting or planting files outside the intended dashboard upload path on the host.

Affected Products

  • AstrBotDevs AstrBot versions up to and including 4.23.5
  • Component: astrbot/dashboard/routes/chat.py File Upload Handler
  • Function: post_file

Discovery Timeline

  • 2026-05-17 - CVE-2026-8754 published to NVD
  • 2026-05-18 - Last updated in NVD database

Technical Details for CVE-2026-8754

Vulnerability Analysis

The vulnerability exists in the post_file handler responsible for processing file uploads through the AstrBot dashboard. The handler accepts a user-controlled filename argument and uses it to construct the destination path without sufficient sanitization. An authenticated attacker can supply traversal sequences such as ../ to escape the intended upload directory.

Successful exploitation lets an attacker write files to arbitrary locations the AstrBot process can access. Depending on deployment context, this can lead to overwriting configuration files, planting persistence artifacts, or staging follow-on code execution. The attack proceeds over the network and requires only low privileges with no user interaction.

Root Cause

The root cause is improper limitation of a pathname to a restricted directory [CWE-22]. The post_file route did not normalize or constrain the supplied filename to the upload directory before writing the file. The upstream fix introduces use of pathlib.Path and PurePosixPath to validate that the resolved destination stays within the intended directory boundary.

Attack Vector

A remote authenticated user submits a crafted file upload request to the dashboard endpoint backed by post_file. The filename parameter contains directory traversal sequences referencing a location outside the upload root. The server resolves the path and writes the uploaded content to the attacker-chosen destination.

python
# Patch excerpt - astrbot/dashboard/routes/chat.py
 import uuid
 from contextlib import asynccontextmanager
 from copy import deepcopy
+from pathlib import Path, PurePosixPath
 from typing import Any, cast
 
 from quart import Response as QuartResponse

Source: GitHub Commit aaec41e

The patch imports Path and PurePosixPath to enable safe path resolution and containment checks against the configured upload directory.

Detection Methods for CVE-2026-8754

Indicators of Compromise

  • HTTP requests to the AstrBot dashboard file upload endpoint containing ../, ..\, URL-encoded %2e%2e%2f, or absolute path sequences in the filename field.
  • New or modified files appearing outside the configured AstrBot upload directory, especially in configuration, plugin, or web-accessible paths.
  • Unexpected files owned by the AstrBot service account on the host filesystem.

Detection Strategies

  • Inspect AstrBot dashboard access logs for POST requests carrying traversal patterns in multipart filename headers.
  • Compare the running AstrBot version against 4.23.6 and flag instances at or below 4.23.5.
  • Hash-monitor the astrbot/dashboard/routes/chat.py file to confirm presence of patch commit aaec41e5054569ceaa1113593a34da7568e2d211.

Monitoring Recommendations

  • Enable file integrity monitoring on directories adjacent to the AstrBot upload path and on application configuration files.
  • Forward AstrBot application and reverse-proxy logs to a centralized SIEM and alert on multipart filenames containing path separators or traversal tokens.
  • Audit dashboard accounts and disable unused low-privilege users that could be abused for authenticated exploitation.

How to Mitigate CVE-2026-8754

Immediate Actions Required

  • Upgrade AstrBot to version 4.23.6 or later, which contains commit aaec41e5054569ceaa1113593a34da7568e2d211.
  • Restrict network exposure of the AstrBot dashboard to trusted management networks or VPN access only.
  • Rotate credentials for dashboard accounts and review authentication logs for unexpected post_file activity.

Patch Information

The maintainers fixed CVE-2026-8754 in AstrBot 4.23.6. The fix is tracked in commit aaec41e5054569ceaa1113593a34da7568e2d211 and bundled in the v4.23.6 Release Notes. The patch introduces pathlib.Path and PurePosixPath based validation in astrbot/dashboard/routes/chat.py to constrain upload destinations to the intended directory.

Workarounds

  • Place the AstrBot dashboard behind a reverse proxy that blocks multipart requests containing ../, ..\, or encoded traversal sequences in the filename parameter.
  • Run AstrBot under a dedicated low-privilege service account with write access limited to the upload directory only.
  • Apply mandatory access controls such as AppArmor or SELinux to restrict the AstrBot process from writing outside its working directory.
bash
# Verify installed AstrBot version and confirm patch presence
pip show astrbot | grep -i version
grep -n "PurePosixPath" astrbot/dashboard/routes/chat.py
# Expected on patched systems: import line referencing Path, PurePosixPath

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechAstrbot

  • SeverityLOW

  • CVSS Score2.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/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
  • AvailabilityLow
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Gist PoC

  • GitHub AstrBot Repository

  • GitHub Commit Log

  • GitHub AstrBot Release Notes

  • VulDB Submission Form

  • VulDB #364381

  • VulDB #364381 CTI
  • Related CVEs
  • CVE-2025-48957: Astrbot Path Traversal Vulnerability

  • CVE-2025-55449: Astrbot Auth Bypass Vulnerability

  • CVE-2026-7579: AstrBot Auth Bypass Vulnerability

  • CVE-2026-6984: AstrBot Dashboard API 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