# CVE-2024-52787: libre-chat Path Traversal vulnerability

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 0.78%, higher than 57% of CVEs (2026-12-01)
- Published: 2024-11-25T00:00:00.000Z
- Modified: 2026-07-07T17:56:58.984Z
- Also known as: GHSA-3864-rp2m-2qfj, PYSEC-2026-1537
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

An issue in the upload_documents method of libre-chat v0.0.6 allows attackers to execute a path traversal via supplying a crafted filename in an uploaded file.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- librechat librechat: 0.0.6
- libre-chat (PyPI): up to 0.0.6

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U`

## References

- <https://github.com/vemonet/libre-chat/pull/9> (web)
- <https://github.com/vemonet/libre-chat/issues/10> (web)
- <https://github.com/vemonet/libre-chat/commit/dbb8e3400e5258112179783d74c9cc54310cb72b> (web)
- <https://gist.github.com/jxfzzzt/276a6e8cfbc54d2c2711bb51d8d3dff3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-52787> (advisory)
- <https://github.com/vemonet/libre-chat> (package)
- <https://pypi.org/project/libre-chat> (package)
- <https://github.com/advisories/GHSA-3864-rp2m-2qfj> (advisory)

## Sources

- CVE List: [CVE-2024-52787](https://www.cve.org/CVERecord?id=CVE-2024-52787), CVE Terms of Use, modified 2024-11-27
- GitHub Advisory Database: [GHSA-3864-rp2m-2qfj](https://github.com/advisories/GHSA-3864-rp2m-2qfj), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-52787](https://nvd.nist.gov/vuln/detail/CVE-2024-52787), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1537](https://osv.dev/vulnerability/PYSEC-2026-1537), CC-BY-4.0, modified 2026-07-07

---

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