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)

EPSS: 0.011 (62.3th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-3403?
CVE-2024-3403 is a high-severity vulnerability in Imartinez Imartinez/privategpt, classified under Path Traversal. CVSS score: 7.5/10. Published 2024-05-16.
How severe is CVE-2024-3403?
High severity. CVSS v3 base score is 7.5 out of 10.