{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/51798?format=json","vulnerability_id":"VCID-1829-xykh-t7e4","summary":"A Path Traversal vulnerability exists in the eosphoros-ai/db-gpt version 0.6.0 at the API endpoint `/v1/resource/file/delete`. This vulnerability allows an attacker to delete any file on the server by manipulating the `file_key` parameter. The `file_key` parameter is not properly sanitized, enabling an attacker to specify arbitrary file paths. If the specified file exists, the application will delete it.","aliases":[{"alias":"CVE-2024-10830"}],"fixed_packages":[],"affected_packages":[],"references":[{"reference_url":"https://huntr.com/bounties/26adf08a-9262-4d5a-a2ee-ce12ed919620","reference_id":"26adf08a-9262-4d5a-a2ee-ce12ed919620","reference_type":"","scores":[{"value":"8.2","scoring_system":"cvssv3","scoring_elements":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-03-20T14:28:14Z/"}],"url":"https://huntr.com/bounties/26adf08a-9262-4d5a-a2ee-ce12ed919620"}],"weaknesses":[{"cwe_id":22,"name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."}],"exploits":[],"severity_range_score":"8.2 - 8.2","exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-1829-xykh-t7e4"}