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-2024-10831

CVE-2024-10831: Dbgpt Db-gpt Path Traversal Vulnerability

CVE-2024-10831 is a path traversal flaw in Dbgpt Db-gpt version 0.6.0 that allows attackers to upload files to arbitrary server locations. This article covers technical details, affected versions, and mitigation.

Published: April 15, 2026

CVE-2024-10831 Overview

A critical absolute path traversal vulnerability exists in eosphoros-ai/db-gpt version 0.6.0 that allows attackers to upload arbitrary files to arbitrary locations on the target server. The vulnerability is present in the file upload endpoint where user-controllable parameters file_key and doc_file.filename can be manipulated to construct paths outside the intended upload directory. This flaw enables attackers to overwrite essential system files, including SSH keys, potentially leading to complete system compromise.

Critical Impact

Remote attackers can upload malicious files to any location on the server without authentication, enabling system compromise through overwriting critical files such as SSH authorized_keys or system configuration files.

Affected Products

  • DB-GPT version 0.6.0
  • eosphoros-ai/db-gpt 0.6.0

Discovery Timeline

  • 2025-03-20 - CVE-2024-10831 published to NVD
  • 2025-07-17 - Last updated in NVD database

Technical Details for CVE-2024-10831

Vulnerability Analysis

This path traversal vulnerability (CWE-36: Absolute Path Traversal) stems from improper validation of user-supplied input in the file upload functionality of DB-GPT. The application fails to properly sanitize the file_key and doc_file.filename parameters before using them to construct the destination file path on the server.

An unauthenticated attacker can exploit this vulnerability remotely over the network with low attack complexity. The vulnerability allows for high-impact modifications to system integrity and availability, as arbitrary files can be written to any location accessible by the application's process.

Root Cause

The root cause is insufficient input validation on file path parameters. The application directly uses user-supplied values for file_key and doc_file.filename in constructing the file destination path without sanitizing path traversal sequences such as ../ or absolute paths. This allows attackers to escape the intended upload directory and write files to arbitrary locations on the file system.

Attack Vector

The attack is conducted remotely over the network against the file upload endpoint. An attacker crafts a malicious HTTP request with specially crafted file_key and doc_file.filename values containing path traversal sequences (e.g., ../../../etc/cron.d/malicious) or absolute paths. When the server processes this request, it writes the uploaded file content to the attacker-specified location, bypassing the intended upload directory restrictions.

Successful exploitation could allow attackers to:

  • Overwrite SSH authorized_keys files for unauthorized access
  • Plant malicious cron jobs for persistent access
  • Overwrite application configuration files
  • Deploy web shells in accessible directories

For detailed technical information, refer to the Huntr Bug Bounty Report.

Detection Methods for CVE-2024-10831

Indicators of Compromise

  • Unexpected files appearing in system directories such as /root/.ssh/, /etc/cron.d/, or web server directories
  • Modified SSH authorized_keys files with unauthorized public keys
  • Unusual file creation timestamps in critical system directories
  • Web server access logs showing file upload requests with path traversal patterns (../ sequences or absolute paths)

Detection Strategies

  • Monitor web application logs for file upload requests containing path traversal patterns in parameters
  • Implement file integrity monitoring (FIM) on critical system directories to detect unauthorized file modifications
  • Deploy web application firewall (WAF) rules to block requests containing path traversal sequences in file upload parameters
  • Configure SentinelOne to alert on suspicious file creation in sensitive system directories

Monitoring Recommendations

  • Enable enhanced logging on DB-GPT file upload endpoints to capture full request parameters
  • Set up alerts for file creation events in directories outside the expected upload path
  • Monitor for new SSH keys being added to authorized_keys files across the infrastructure
  • Implement behavioral analysis to detect post-exploitation activities following successful file writes

How to Mitigate CVE-2024-10831

Immediate Actions Required

  • Immediately restrict network access to DB-GPT file upload endpoints using firewall rules or network segmentation
  • If DB-GPT 0.6.0 is deployed, consider taking the service offline until a patch is applied
  • Audit system directories for unauthorized file modifications, particularly SSH keys and cron configurations
  • Implement reverse proxy rules to filter requests containing path traversal patterns

Patch Information

At the time of publication, no official patch information has been released by the vendor. Organizations should monitor the DB-GPT project repository and security advisories for updates. Review the Huntr Bug Bounty Report for the latest status on remediation efforts.

Workarounds

  • Deploy a web application firewall (WAF) with rules to block path traversal sequences in file upload parameters
  • Implement network-level access controls to restrict access to the file upload endpoint to trusted sources only
  • Run the DB-GPT application with minimal file system permissions using a dedicated low-privilege user account
  • Consider containerizing the application with read-only file system mounts for critical directories
  • Monitor and alert on any file writes outside the designated upload directory

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechDbgpt

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.22%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-36
  • Technical References
  • Huntr Bug Bounty Report
  • Related CVEs
  • CVE-2025-6772: Dbgpt Db-gpt Path Traversal Vulnerability

  • CVE-2024-10833: DB-GPT Path Traversal Vulnerability

  • CVE-2025-0452: DB-GPT Path Traversal Vulnerability

  • CVE-2024-10834: DB-GPT 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