CVE-2024-3403

Local File Inclusion in imartinez/privategpt

Published May 16, 2024 CVSS 3.0 · 7.5 High EPSS 1.1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-31992 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.
History
Type Values Removed Values Added
First Time appeared Pribai
Pribai privategpt
CPEs cpe:2.3:a:pribai:privategpt:*:*:*:*:*:*:*:*
Vendors & Products Pribai
Pribai privategpt
Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Aug 1, 2024, 8:12 PM
Reserved
Apr 5, 2024, 6:08 PM
Status
Analyzed
Published
May 16, 2024, 9:15 AM
Modified
Jun 17, 2026, 7:44 AM