# CVE-2024-5935: CSRF Vulnerability in imartinez/privategpt

- Severity: Medium 5.4 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- 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): 0.18%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-27T18:45:51.085Z
- Modified: 2026-06-17T08:16:56.900Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

A Cross-Site Request Forgery (CSRF) vulnerability in version 0.5.0 of imartinez/privategpt allows an attacker to delete all uploaded files on the server. This can lead to data loss and service disruption for the application's users.

(As written by CVE List.)

## Affected

- imartinez imartinez/privategpt: from unspecified up to latest
- imartinez imartinez_privategpt: 0.5.0
- pribai privategpt: 0.5.0

## Every score

- @huntr_ai: CVSS:3.0 5.4 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`

## References

- <https://huntr.com/bounties/b374f1c9-fa25-4b52-a34d-5153afd5a295> (exploit, issue-tracking, third-party-advisory)

## Sources

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

---

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