← Vulnerability feed

Vulnerability record · CVE-2024-3403 · published 16 May 2024

CVE-2024-3403: Pribai privategpt path traversal vulnerability

Pribai · Privategpt

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.

7.5 CVSS 3.0 High EPSS 1.1% · top 35.7% CWE-22 · Path traversal
7.5CVSS 3.0 base score
1.1%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-3403 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-4343Pribai privategpt os command injection vulnerabilityA Python command injection vulnerability exists in the `SagemakerLLM` class's `complete()` method within `./private_gpt/components/llm/custom/sagemak…EPSS 2.7%7.5CVE-2024-8018Pribai privategpt allocation without limits vulnerabilityA vulnerability in imartinez/privategpt version 0.5.0 allows for a Denial of Service (DOS) attack. When uploading a file, if an attacker appends a la…EPSS 0.62%7.5CVE-2024-12063Pribai privategpt uncontrolled resource consumption vulnerabilityA Denial of Service (DoS) vulnerability exists in the file upload feature of imartinez/privategpt version v0.6.2. The vulnerability is due to imprope…EPSS 0.77%7.2CVE-2024-5186Pribai privategpt server-side request forgery (ssrf) vulnerabilityA Server-Side Request Forgery (SSRF) vulnerability exists in the file upload section of imartinez/privategpt version 0.5.0. This vulnerability allows…EPSS 0.34%6.1CVE-2024-8029Pribai privategpt cross-site scripting vulnerabilityAn XSS vulnerability was discovered in the upload file(s) process of imartinez/privategpt v0.5.0. Attackers can upload malicious SVG files, which exe…EPSS 0.35%6.1CVE-2024-5936Pribai privategpt open redirect vulnerabilityAn open redirect vulnerability exists in imartinez/privategpt version 0.5.0 due to improper handling of the 'file' parameter. This vulnerability allo…EPSS 30%5.4CVE-2024-5935Pribai privategpt cross-site request forgery vulnerabilityA Cross-Site Request Forgery (CSRF) vulnerability in version 0.5.0 of imartinez/privategpt allows an attacker to delete all uploaded files on the ser…EPSS 0.18%5.4CVE-2024-3851Pribai privategpt cross-site scripting vulnerabilityA stored Cross-Site Scripting (XSS) vulnerability exists in the 'imartinez/privategpt' repository due to improper validation of file uploads. Attacke…EPSS 0.32%

Source: NIST National Vulnerability Database (record CVE-2024-3403), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.