Skip to main content
VulnerabilityPublished Updated

CVE-2024-10833: eosphoros-ai/db-gpt · Absolute Path Traversal

Affects eosphoros-ai/db-gptSource CVE Database V5

0

Not known to be exploited · CVSS 9.1 Critical.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.0 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 57% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
npmeosphoros-ai/db-gptpkg:npm/eosphoros-ai/db-gptOther threatsAffected
  • =0.6.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-10833 effectively, organizations should implement the following specific measures: 1) Immediately restrict the file upload functionality by disabling or limiting the knowledge API endpoint until a patch is available. 2) Implement strict server-side validation and sanitization of the 'doc_file.filename' parameter to reject absolute paths, path traversal sequences (e.g., ../), and disallowed characters. 3) Enforce a whitelist of allowed filenames or extensions and restrict file write operations to a dedicated, sandboxed directory with minimal privileges. 4) Employ operating system-level access controls to prevent the application from writing outside designated directories. 5) Monitor logs for suspicious file upload attempts or abnormal file creation patterns. 6) Apply network-level protections such as Web Application Firewalls (WAFs) with custom rules to detect and block path traversal payloads targeting this endpoint. 7) Stay updated with vendor advisories and apply official patches or updates as soon as they become available. 8) Conduct internal code reviews and penetration testing focused on file upload functionalities to identify similar vulnerabilities. 9) Educate development and security teams about secure file handling practices to prevent recurrence.

Description

eosphoros-ai/db-gpt version 0.6.0 is vulnerable to an arbitrary file write through the knowledge API. The endpoint for uploading files as 'knowledge' is susceptible to absolute path traversal, allowing attackers to write files to arbitrary locations on the target server. This vulnerability arises because the 'doc_file.filename' parameter is user-controllable, enabling the construction of absolute paths.

References

Community reviews

Loading reviews…