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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:pribai:privategpt:*:*:*:*:*:*:*:*

History

17 Jul 2025, 20:01

Type Values Removed Values Added
References () https://huntr.com/bounties/7431d1dd-f014-4d4f-acb6-f97369ef3688 - () https://huntr.com/bounties/7431d1dd-f014-4d4f-acb6-f97369ef3688 - Exploit, Third Party Advisory
First Time Pribai
Pribai privategpt
CPE cpe:2.3:a:pribai:privategpt:*:*:*:*:*:*:*:*

Information

Published : 2024-05-16 09:15

Updated : 2025-07-17 20:01


NVD link : CVE-2024-3403

Mitre link : CVE-2024-3403

CVE.ORG link : CVE-2024-3403


JSON object : View

Products Affected

pribai

  • privategpt
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')