Path Traversal in Imartinez Imartinez/privategpt
CVE-2024-3403
imartinez/privategpt version 0.2.0 is vulnerable to a local file inclusion vulnerability that allows attackers to read arbitrary files from the filesystem. By manipulating file upload functionality to ingest arbitrary local files, attackers can exploit the 'Search in Docs' feature or query the AI to retrieve or disclose the contents of any file on the system. This vulnerability could lead to various impacts, including but not limited to remote code execution by obtaining private SSH keys, unauthorized access to private files, source code disclosure facilitating further attacks, and exposure of configuration files.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.011, 66.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Imartinez Imartinez/privategpt — versions unspecified
- Pribai Privategpt
Weakness classification (CWE)
References
- huntr.com/bounties/7431d1dd-f014-4d4f-acb6-f97369ef3688 (Exploit, Third Party Advisory)