Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2024-6255

CVE-2024-6255: Chuanhuchatgpt Path Traversal Vulnerability

CVE-2024-6255 is a path traversal vulnerability in Gaizhenbiao Chuanhuchatgpt that enables attackers to delete critical JSON files on the server. This article covers technical details, affected versions, and mitigation.

Published: April 8, 2026

CVE-2024-6255 Overview

A critical directory traversal vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240410 that allows any user to delete arbitrary JSON files on the server. This vulnerability arises from improper validation of file paths in the JSON file handling functionality, enabling attackers to traverse directories and target files outside the intended scope. Critical configuration files such as config.json and ds_config_chatbot.json are at risk, potentially leading to system disruption, settings manipulation, and data loss or corruption.

Critical Impact

Unauthenticated attackers can delete any JSON file on the server through directory traversal, including critical configuration files, leading to denial of service and potential data corruption.

Affected Products

  • gaizhenbiao chuanhuchatgpt version 20240410
  • ChuanhuChatGPT installations with default file handling configurations

Discovery Timeline

  • 2024-07-31 - CVE-2024-6255 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-6255

Vulnerability Analysis

This vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory) occurs in the JSON file handling component of ChuanhuChatGPT. The application fails to properly sanitize user-supplied file path inputs, allowing attackers to use directory traversal sequences (such as ../) to escape the intended directory and access files elsewhere on the file system.

The attack is network-accessible and requires no authentication or user interaction. An attacker can exploit this flaw to delete critical JSON configuration files that the application depends on for proper operation. The impact is significant for both integrity (arbitrary file deletion) and availability (service disruption through removal of essential configuration files).

Root Cause

The root cause of CVE-2024-6255 is the lack of proper input validation and path canonicalization in the file deletion functionality. When processing user requests to delete JSON files, the application directly incorporates user-supplied path components without verifying that the resulting path remains within the allowed directory boundaries. This allows malicious path sequences like ../../../config.json to reference files outside the intended storage location.

Attack Vector

The vulnerability is exploited through network-based requests to the ChuanhuChatGPT application. An attacker crafts a malicious request containing directory traversal sequences in the file path parameter. Since no authentication is required, any remote user can target the application.

The attack flow involves:

  1. Identifying the JSON file deletion endpoint in the ChuanhuChatGPT application
  2. Crafting a request with directory traversal sequences (e.g., ../../config.json)
  3. Submitting the request to delete critical configuration files
  4. The application processes the path without validation and deletes the specified file

Technical details of the vulnerability can be found in the Huntr Bug Bounty Report.

Detection Methods for CVE-2024-6255

Indicators of Compromise

  • Unexpected deletion of JSON configuration files (e.g., config.json, ds_config_chatbot.json)
  • Application errors or crashes related to missing configuration files
  • HTTP request logs containing directory traversal patterns (../, ..%2F, ..%252F)
  • Unusual file system activity in directories outside the application's intended scope

Detection Strategies

  • Monitor web server access logs for requests containing directory traversal sequences targeting JSON file endpoints
  • Implement file integrity monitoring (FIM) on critical configuration files to detect unauthorized deletions
  • Deploy web application firewall (WAF) rules to detect and block path traversal attempts
  • Configure application-level logging to capture file deletion operations with full path information

Monitoring Recommendations

  • Enable verbose logging for all file system operations in the ChuanhuChatGPT application
  • Set up alerts for configuration file changes or deletions using file integrity monitoring solutions
  • Monitor application health metrics to detect service disruptions caused by missing configuration files
  • Regularly audit access logs for suspicious request patterns indicative of traversal attacks

How to Mitigate CVE-2024-6255

Immediate Actions Required

  • Restrict network access to ChuanhuChatGPT instances to trusted users only until a patch is applied
  • Implement WAF rules to block requests containing directory traversal patterns
  • Enable file integrity monitoring on critical JSON configuration files
  • Back up all configuration files and establish a recovery procedure
  • Consider disabling the JSON file deletion functionality if not essential to operations

Patch Information

Organizations should monitor the official gaizhenbiao/chuanhuchatgpt repository for security updates addressing this vulnerability. As no vendor advisory was available at the time of publication, check the Huntr Bug Bounty Report for the latest remediation guidance.

Workarounds

  • Deploy a reverse proxy or WAF with rules to sanitize and block path traversal sequences in incoming requests
  • Implement operating system-level file permissions to protect critical configuration files from deletion
  • Isolate the ChuanhuChatGPT application using containerization with restricted file system access
  • Use read-only mounts for configuration directories where possible
  • Limit the application's file system access through security profiles (AppArmor, SELinux)
bash
# Example WAF rule for blocking directory traversal (ModSecurity format)
SecRule REQUEST_URI "@contains ../" "id:1001,phase:1,deny,status:403,msg:'Directory traversal attempt blocked'"
SecRule REQUEST_URI "@contains ..%2F" "id:1002,phase:1,deny,status:403,msg:'Encoded directory traversal blocked'"

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechGaizhenbiao Chuanhuchatgpt

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability3.86%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • Huntr Bug Bounty Report
  • Related CVEs
  • CVE-2024-3234: Chuanhuchatgpt Path Traversal Flaw

  • CVE-2024-5982: Chuanhuchatgpt Path Traversal Vulnerability

  • CVE-2024-6037: Chuanhuchatgpt DoS 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