Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai

CVE-2024-10834Arbitrary File Write in eosphoros-ai/db-gpt

Critical 9.1

In plain English

A critical-severity security flaw in eosphoros-ai/db-gpt from eosphoros-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities).

Severity (CVSS 3.0)9.1Critical
Exploit odds (30 days)0.6%top 49.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

eosphoros-ai/db-gpt version 0.6.0 contains a vulnerability in the RAG-knowledge endpoint that allows for arbitrary file write. The issue arises from the ability to pass an absolute path to a call to `os.path.join`, enabling an attacker to write files to arbitrary locations on the target server. This vulnerability can be exploited by setting the `doc_file.filename` to an absolute path, which can lead to overwriting system files or creating new SSH-key entries.

Affected products (as reported)

VendorProductVersions
eosphoros-ai eosphoros-ai/db-gpt unspecified – through latest

Weakness: CWE-73 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References