# CVE-2024-3403: Local File Inclusion in imartinez/privategpt

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.10%, higher than 66% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-05-16T09:03:47.440Z
- Modified: 2026-06-17T07:44:11.863Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- imartinez imartinez/privategpt: from unspecified up to latest
- zylon-ai private-gpt: 0.2.0
- pribai privategpt: from 0.2.0 before 0.6.0

## References

- <https://huntr.com/bounties/7431d1dd-f014-4d4f-acb6-f97369ef3688> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2024-3403](https://www.cve.org/CVERecord?id=CVE-2024-3403), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-3403](https://nvd.nist.gov/vuln/detail/CVE-2024-3403), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-3403 · Whole record: https://cve.day/CVE-2024-3403.json · Rebuilt by cve.day 2026-11-25T22:58:40.430Z
