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

CVE-2024-10902: DB-GPT Path Traversal Vulnerability

CVE-2024-10902 is a path traversal flaw in DB-GPT v0.6.0 that enables arbitrary file uploads, potentially leading to remote code execution. This article covers the technical details, affected versions, and mitigation.

Published: April 8, 2026

CVE-2024-10902 Overview

A critical arbitrary file upload vulnerability with path traversal has been discovered in eosphoros-ai/db-gpt version v0.6.0. The web API endpoint POST /v1/personal/agent/upload is vulnerable to path traversal attacks, allowing unauthorized attackers to upload arbitrary files to any location on the victim's file system. This vulnerability poses a severe risk as it can lead to remote code execution (RCE) by writing malicious files to sensitive locations, such as placing a malicious __init__.py file in Python's /site-packages/ directory.

Critical Impact

Unauthorized attackers can achieve remote code execution by uploading malicious files to arbitrary locations on the server's file system, potentially compromising the entire system.

Affected Products

  • DB-GPT version 0.6.0
  • eosphoros-ai/db-gpt v0.6.0

Discovery Timeline

  • 2025-03-20 - CVE-2024-10902 published to NVD
  • 2025-10-15 - Last updated in NVD database

Technical Details for CVE-2024-10902

Vulnerability Analysis

This vulnerability combines two dangerous attack techniques: arbitrary file upload and path traversal (CWE-22). The POST /v1/personal/agent/upload API endpoint fails to properly validate and sanitize user-supplied file paths, allowing attackers to use directory traversal sequences (such as ../) to escape the intended upload directory and write files to arbitrary locations on the server's file system.

The attack requires no authentication and can be executed remotely over the network, making it easily exploitable. When successfully exploited, an attacker gains the ability to write files with arbitrary content anywhere on the system where the web application has write permissions. This can lead to complete system compromise through various attack scenarios, including code injection into Python modules, web shell deployment, or configuration file manipulation.

Root Cause

The root cause of this vulnerability is improper input validation in the file upload handling logic. The API endpoint does not adequately sanitize the filename or path parameters before using them to determine where uploaded files should be stored. Specifically, the application fails to:

  1. Strip or reject directory traversal sequences (../, ..\\)
  2. Validate that the resolved file path remains within the intended upload directory
  3. Implement proper canonicalization of file paths before processing

Attack Vector

The attack is executed over the network by sending a crafted HTTP POST request to the /v1/personal/agent/upload endpoint. An attacker constructs a malicious request containing path traversal sequences in the filename parameter to navigate outside the designated upload directory.

A particularly devastating attack scenario involves writing a malicious __init__.py file to Python's /site-packages/ directory. When Python imports any module from that package, the malicious code executes automatically, achieving remote code execution with the privileges of the DB-GPT application.

The vulnerability requires no user interaction and can be exploited with low complexity, making it highly accessible to attackers. For detailed technical information, refer to the Huntr Bounty Listing.

Detection Methods for CVE-2024-10902

Indicators of Compromise

  • Unusual HTTP POST requests to /v1/personal/agent/upload containing path traversal patterns (../, ..%2f, ..\\)
  • Unexpected files appearing in Python's site-packages directory or other sensitive system locations
  • Modified __init__.py files in Python package directories with unrecognized code
  • Web server logs showing requests with encoded path traversal sequences in file upload parameters

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing path traversal patterns in file upload endpoints
  • Monitor file system integrity for changes to critical directories including Python library paths and web application directories
  • Deploy intrusion detection systems (IDS) with signatures for path traversal attack patterns
  • Review web server access logs for suspicious patterns targeting the /v1/personal/agent/upload endpoint

Monitoring Recommendations

  • Enable verbose logging on the DB-GPT application to capture all file upload activities with full path information
  • Set up file integrity monitoring (FIM) on sensitive directories such as /site-packages/, web roots, and configuration directories
  • Configure alerting for any file creation or modification events outside expected upload directories
  • Implement network traffic analysis to detect unusual outbound connections that may indicate successful exploitation

How to Mitigate CVE-2024-10902

Immediate Actions Required

  • Restrict network access to the DB-GPT instance to trusted networks only until a patch is available
  • Implement a web application firewall rule to block requests containing path traversal sequences targeting the upload endpoint
  • Review file system permissions to limit the write access of the DB-GPT application to only required directories
  • Audit existing files in sensitive directories for any unauthorized modifications

Patch Information

As of the last update, no official patch has been confirmed for this vulnerability. Organizations running DB-GPT version 0.6.0 should monitor the official DB-GPT repository and the Huntr Bounty Listing for updates on remediation guidance and patch availability.

Workarounds

  • Deploy a reverse proxy or WAF in front of DB-GPT to filter malicious requests containing path traversal patterns
  • Disable or restrict access to the /v1/personal/agent/upload endpoint if not required for operations
  • Run the DB-GPT application in a containerized environment with read-only file systems where possible
  • Implement network segmentation to isolate the DB-GPT instance from critical infrastructure
bash
# Example: Block path traversal patterns using nginx
location /v1/personal/agent/upload {
    # Deny requests with path traversal patterns
    if ($request_uri ~* "\.\.") {
        return 403;
    }
    # Additional access restrictions
    allow 10.0.0.0/8;
    deny all;
}

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechDb Gpt

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability3.26%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • Huntr Bounty Listing
  • Related CVEs
  • CVE-2024-10901: Dbgpt Db-gpt RCE 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