CVE-2024-10902CWE-22

Arbitrary File Upload with Path Traversal in eosphoros-ai/db-gpt

Critical · published March 20, 2025

CVSS v3.0
9.1
EPSS
1%
Percentile
70.5
In the wild
Unconfirmed
What it is

🚨 This one's a big deal! The `POST /v1/personal/agent/upload` API in eosphoros-ai/db-gpt v0.6.0 lets any unauthorized attacker upload files anywhere on your system! 🔥 Think of it like a hotel concierge who takes any package without checking what’s inside—if the wrong person sends a parcel, they could be delivering trouble right into your room! 📦 An attacker could upload any file, including a sneaky malicious `__init__.py`, opening the door to remote code execution (RCE). This means they can run whatever they want on your server, leading to data breaches, unauthorized access, or even total system takeover. Absolutely devastating!

Put simply

Think of it like a hotel concierge who takes any package without checking what’s inside—if the wrong person sends a parcel, they could be delivering trouble right into your room! 📦 This vulnerability is a result of a lack of proper validation in the file upload mechanism, allowing for path traversal which lets attackers specify arbitrary locations to upload files on the server.

What to do

An attacker could upload any file, including a sneaky malicious `__init__.py`, opening the door to remote code execution (RCE). This means they can run whatever they want on your server, leading to data breaches, unauthorized access, or even total system takeover. Absolutely devastating! Immediately patch to a safe version that addresses this flaw. Implement strict file type validation and ensure that uploaded files cannot overwrite critical directories. Regularly audit your upload functionalities for security gaps! You've got this! By tackling these issues, you’ll be well on your way to securing your system. 🛡️

The record
Technical detail
CVSS v3.0
9.1 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01313 · 70.5th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-03-20T10:09Z
EPSS history
Timeline
  • 20 MAR 10:09Z
    Arbitrary File Upload with Path Traversal in eosphoros-ai/db-gpt
    cvelistv5